/*! For license information please see mqtt.packet.js.LICENSE.txt */
var e = { 9742: (e, t) => { t.byteLength = function(e) { var t = u(e),
          r = t[0],
          n = t[1]; return 3 * (r + n) / 4 - n }, t.toByteArray = function(e) { var t, r, o = u(e),
          s = o[0],
          a = o[1],
          f = new i(function(e, t, r) { return 3 * (t + r) / 4 - r }(0, s, a)),
          l = 0,
          c = a > 0 ? s - 4 : s; for (r = 0; r < c; r += 4) t = n[e.charCodeAt(r)] << 18 | n[e.charCodeAt(r + 1)] <<
          12 | n[e.charCodeAt(r + 2)] << 6 | n[e.charCodeAt(r + 3)], f[l++] = t >> 16 & 255, f[l++] = t >> 8 & 255,
          f[l++] = 255 & t; return 2 === a && (t = n[e.charCodeAt(r)] << 2 | n[e.charCodeAt(r + 1)] >> 4, f[l++] =
          255 & t), 1 === a && (t = n[e.charCodeAt(r)] << 10 | n[e.charCodeAt(r + 1)] << 4 | n[e.charCodeAt(r +
          2)] >> 2, f[l++] = t >> 8 & 255, f[l++] = 255 & t), f }, t.fromByteArray = function(e) { for (var t, n = e
            .length, i = n % 3, o = [], s = 16383, a = 0, u = n - i; a < u; a += s) o.push(f(e, a, a + s > u ? u :
          a + s)); return 1 === i ? (t = e[n - 1], o.push(r[t >> 2] + r[t << 4 & 63] + "==")) : 2 === i && (t = (e[
          n - 2] << 8) + e[n - 1], o.push(r[t >> 10] + r[t >> 4 & 63] + r[t << 2 & 63] + "=")), o.join("") }; for (var
          r = [], n = [], i = "undefined" != typeof Uint8Array ? Uint8Array : Array, o =
          "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", s = 0, a = o.length; s < a; ++s) r[s] =
        o[s], n[o.charCodeAt(s)] = s;

      function u(e) { var t = e.length; if (t % 4 > 0) throw new Error(
          "Invalid string. Length must be a multiple of 4"); var r = e.indexOf("="); return -1 === r && (r = t), [r,
          r === t ? 0 : 4 - r % 4
        ] }

      function f(e, t, n) { for (var i, o, s = [], a = t; a < n; a += 3) i = (e[a] << 16 & 16711680) + (e[a + 1] <<
          8 & 65280) + (255 & e[a + 2]), s.push(r[(o = i) >> 18 & 63] + r[o >> 12 & 63] + r[o >> 6 & 63] + r[63 &
          o]); return s.join("") } n["-".charCodeAt(0)] = 62, n["_".charCodeAt(0)] = 63 }, 9668: (e, t,
    r) => { const { Buffer: n } = r(8764), i = Symbol.for("BufferList");

      function o(e) { if (!(this instanceof o)) return new o(e);
        o._init.call(this, e) } o._init = function(e) { Object.defineProperty(this, i, { value: !0 }), this
          ._bufs = [], this.length = 0, e && this.append(e) }, o.prototype._new = function(e) { return new o(e) }, o
        .prototype._offset = function(e) { if (0 === e) return [0, 0]; let t = 0; for (let r = 0; r < this._bufs
            .length; r++) { const n = t + this._bufs[r].length; if (e < n || r === this._bufs.length - 1) return [r,
              e - t
            ];
            t = n } }, o.prototype._reverseOffset = function(e) { const t = e[0]; let r = e[1]; for (let e = 0; e <
            t; e++) r += this._bufs[e].length; return r }, o.prototype.get = function(e) { if (e > this.length || e <
            0) return; const t = this._offset(e); return this._bufs[t[0]][t[1]] }, o.prototype.slice = function(e,
        t) { return "number" == typeof e && e < 0 && (e += this.length), "number" == typeof t && t < 0 && (t += this
            .length), this.copy(null, 0, e, t) }, o.prototype.copy = function(e, t, r, i) { if (("number" !=
              typeof r || r < 0) && (r = 0), ("number" != typeof i || i > this.length) && (i = this.length), r >= this
            .length) return e || n.alloc(0); if (i <= 0) return e || n.alloc(0); const o = !!e,
            s = this._offset(r),
            a = i - r; let u = a,
            f = o && t || 0,
            l = s[1]; if (0 === r && i === this.length) { if (!o) return 1 === this._bufs.length ? this._bufs[0] : n
              .concat(this._bufs, this.length); for (let t = 0; t < this._bufs.length; t++) this._bufs[t].copy(e, f),
              f += this._bufs[t].length; return e } if (u <= this._bufs[s[0]].length - l) return o ? this._bufs[s[0]]
            .copy(e, t, l, l + u) : this._bufs[s[0]].slice(l, l + u);
          o || (e = n.allocUnsafe(a)); for (let t = s[0]; t < this._bufs.length; t++) { const r = this._bufs[t]
              .length - l; if (!(u > r)) { this._bufs[t].copy(e, f, l, l + u), f += r; break } this._bufs[t].copy(e,
              f, l), f += r, u -= r, l && (l = 0) } return e.length > f ? e.slice(0, f) : e }, o.prototype
        .shallowSlice = function(e, t) { if (e = e || 0, t = "number" != typeof t ? this.length : t, e < 0 && (e +=
              this.length), t < 0 && (t += this.length), e === t) return this._new(); const r = this._offset(e),
            n = this._offset(t),
            i = this._bufs.slice(r[0], n[0] + 1); return 0 === n[1] ? i.pop() : i[i.length - 1] = i[i.length - 1]
            .slice(0, n[1]), 0 !== r[1] && (i[0] = i[0].slice(r[1])), this._new(i) }, o.prototype.toString = function(
          e, t, r) { return this.slice(t, r).toString(e) }, o.prototype.consume = function(e) { if (e = Math.trunc(e),
            Number.isNaN(e) || e <= 0) return this; for (; this._bufs.length;) { if (!(e >= this._bufs[0]
              .length)) { this._bufs[0] = this._bufs[0].slice(e), this.length -= e; break } e -= this._bufs[0].length,
              this.length -= this._bufs[0].length, this._bufs.shift() } return this }, o.prototype.duplicate =
        function() { const e = this._new(); for (let t = 0; t < this._bufs.length; t++) e.append(this._bufs[
          t]); return e }, o.prototype.append = function(e) { if (null == e) return this; if (e.buffer) this
            ._appendBuffer(n.from(e.buffer, e.byteOffset, e.byteLength));
          else if (Array.isArray(e))
            for (let t = 0; t < e.length; t++) this.append(e[t]);
          else if (this._isBufferList(e))
            for (let t = 0; t < e._bufs.length; t++) this.append(e._bufs[t]);
          else "number" == typeof e && (e = e.toString()), this._appendBuffer(n.from(e)); return this }, o.prototype
        ._appendBuffer = function(e) { this._bufs.push(e), this.length += e.length }, o.prototype.indexOf = function(
          e, t, r) { if (void 0 === r && "string" == typeof t && (r = t, t = void 0), "function" == typeof e || Array
            .isArray(e)) throw new TypeError(
            'The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.'); if ("number" ==
            typeof e ? e = n.from([e]) : "string" == typeof e ? e = n.from(e, r) : this._isBufferList(e) ? e = e
            .slice() : Array.isArray(e.buffer) ? e = n.from(e.buffer, e.byteOffset, e.byteLength) : n.isBuffer(e) || (
              e = n.from(e)), t = Number(t || 0), isNaN(t) && (t = 0), t < 0 && (t = this.length + t), t < 0 && (t =
              0), 0 === e.length) return t > this.length ? this.length : t; const i = this._offset(t); let o = i[0],
            s = i[1]; for (; o < this._bufs.length; o++) { const t = this._bufs[o]; for (; s < t.length;)
              if (t.length - s >= e.length) { const r = t.indexOf(e, s); if (-1 !== r) return this._reverseOffset([o,
                  r
                ]);
                s = t.length - e.length + 1 } else { const t = this._reverseOffset([o, s]); if (this._match(t, e))
                  return t;
                s++ } s = 0 } return -1 }, o.prototype._match = function(e, t) { if (this.length - e < t.length)
            return !1; for (let r = 0; r < t.length; r++)
            if (this.get(e + r) !== t[r]) return !1; return !0 },
        function() { const e = { readDoubleBE: 8, readDoubleLE: 8, readFloatBE: 4, readFloatLE: 4, readInt32BE: 4,
            readInt32LE: 4, readUInt32BE: 4, readUInt32LE: 4, readInt16BE: 2, readInt16LE: 2, readUInt16BE: 2,
            readUInt16LE: 2, readInt8: 1, readUInt8: 1, readIntBE: null, readIntLE: null, readUIntBE: null,
            readUIntLE: null }; for (const t in e) ! function(t) { o.prototype[t] = null === e[t] ? function(e,
              r) { return this.slice(e, e + r)[t](0, r) } : function(r = 0) { return this.slice(r, r + e[t])[t](0) } }
            (t) }(), o.prototype._isBufferList = function(e) { return e instanceof o || o.isBufferList(e) }, o
        .isBufferList = function(e) { return null != e && e[i] }, e.exports = o }, 22: (e, t, r) => { const n = r(1451)
        .Duplex,
        i = r(4378),
        o = r(9668);

      function s(e) { if (!(this instanceof s)) return new s(e); if ("function" == typeof e) { this._callback =
          e; const t = function(e) { this._callback && (this._callback(e), this._callback = null) }.bind(this);
          this.on("pipe", (function(e) { e.on("error", t) })), this.on("unpipe", (function(e) { e.removeListener(
              "error", t) })), e = null } o._init.call(this, e), n.call(this) } i(s, n), Object.assign(s.prototype, o
          .prototype), s.prototype._new = function(e) { return new s(e) }, s.prototype._write = function(e, t,
        r) { this._appendBuffer(e), "function" == typeof r && r() }, s.prototype._read = function(e) { if (!this
            .length) return this.push(null);
          e = Math.min(e, this.length), this.push(this.slice(0, e)), this.consume(e) }, s.prototype.end = function(
        e) { n.prototype.end.call(this, e), this._callback && (this._callback(null, this.slice()), this._callback =
            null) }, s.prototype._destroy = function(e, t) { this._bufs.length = 0, this.length = 0, t(e) }, s
        .prototype._isBufferList = function(e) { return e instanceof s || e instanceof o || s.isBufferList(e) }, s
        .isBufferList = o.isBufferList, e.exports = s, e.exports.BufferListStream = s, e.exports.BufferList = o },
    8764: (e, t, r) => { const n = r(9742),
          i = r(645),
          o = "function" == typeof Symbol && "function" == typeof Symbol.for ? Symbol.for(
          "nodejs.util.inspect.custom") : null;
        t.Buffer = u, t.SlowBuffer = function(e) { return +e != e && (e = 0), u.alloc(+e) }, t.INSPECT_MAX_BYTES =
        50; const s = 2147483647;

        function a(e) { if (e > s) throw new RangeError('The value "' + e + '" is invalid for option "size"'); const t =
            new Uint8Array(e); return Object.setPrototypeOf(t, u.prototype), t }

        function u(e, t, r) { if ("number" == typeof e) { if ("string" == typeof t) throw new TypeError(
              'The "string" argument must be of type string. Received type number'); return c(e) } return f(e, t, r) }

        function f(e, t, r) { if ("string" == typeof e) return function(e, t) { if ("string" == typeof t && "" !== t ||
              (t = "utf8"), !u.isEncoding(t)) throw new TypeError("Unknown encoding: " + t); const r = 0 | y(e,
            t); let n = a(r); const i = n.write(e, t); return i !== r && (n = n.slice(0, i)), n }(e, t); if (ArrayBuffer
            .isView(e)) return function(e) { if (Q(e, Uint8Array)) { const t = new Uint8Array(e); return h(t.buffer, t
                .byteOffset, t.byteLength) } return p(e) }(e); if (null == e) throw new TypeError(
            "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " +
            typeof e); if (Q(e, ArrayBuffer) || e && Q(e.buffer, ArrayBuffer)) return h(e, t, r); if ("undefined" !=
            typeof SharedArrayBuffer && (Q(e, SharedArrayBuffer) || e && Q(e.buffer, SharedArrayBuffer))) return h(e, t,
            r); if ("number" == typeof e) throw new TypeError(
            'The "value" argument must not be of type number. Received type number'); const n = e.valueOf && e
        .valueOf(); if (null != n && n !== e) return u.from(n, t, r); const i = function(e) { if (u.isBuffer(e)) { const
                t = 0 | d(e.length),
                r = a(t); return 0 === r.length || e.copy(r, 0, 0, t), r } return void 0 !== e.length ? "number" !=
              typeof e.length || Y(e.length) ? a(0) : p(e) : "Buffer" === e.type && Array.isArray(e.data) ? p(e
              .data) : void 0 }(e); if (i) return i; if ("undefined" != typeof Symbol && null != Symbol.toPrimitive &&
            "function" == typeof e[Symbol.toPrimitive]) return u.from(e[Symbol.toPrimitive]("string"), t,
          r); throw new TypeError(
              "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " +
              typeof e) }

        function l(e) { if ("number" != typeof e) throw new TypeError('"size" argument must be of type number'); if (e <
            0) throw new RangeError('The value "' + e + '" is invalid for option "size"') }

        function c(e) { return l(e), a(e < 0 ? 0 : 0 | d(e)) }

        function p(e) { const t = e.length < 0 ? 0 : 0 | d(e.length),
            r = a(t); for (let n = 0; n < t; n += 1) r[n] = 255 & e[n]; return r }

        function h(e, t, r) { if (t < 0 || e.byteLength < t) throw new RangeError(
            '"offset" is outside of buffer bounds'); if (e.byteLength < t + (r || 0)) throw new RangeError(
            '"length" is outside of buffer bounds'); let n; return n = void 0 === t && void 0 === r ? new Uint8Array(
            e) : void 0 === r ? new Uint8Array(e, t) : new Uint8Array(e, t, r), Object.setPrototypeOf(n, u.prototype),
            n }

        function d(e) { if (e >= s) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + s
            .toString(16) + " bytes"); return 0 | e }

        function y(e, t) { if (u.isBuffer(e)) return e.length; if (ArrayBuffer.isView(e) || Q(e, ArrayBuffer)) return e
            .byteLength; if ("string" != typeof e) throw new TypeError(
            'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof e
            ); const r = e.length,
            n = arguments.length > 2 && !0 === arguments[2]; if (!n && 0 === r) return 0; let i = !1; for (;;) switch (
            t) {
            case "ascii":
            case "latin1":
            case "binary":
              return r;
            case "utf8":
            case "utf-8":
              return K(e).length;
            case "ucs2":
            case "ucs-2":
            case "utf16le":
            case "utf-16le":
              return 2 * r;
            case "hex":
              return r >>> 1;
            case "base64":
              return G(e).length;
            default:
              if (i) return n ? -1 : K(e).length;
              t = ("" + t).toLowerCase(), i = !0 } }

        function g(e, t, r) { let n = !1; if ((void 0 === t || t < 0) && (t = 0), t > this.length) return ""; if ((
              void 0 === r || r > this.length) && (r = this.length), r <= 0) return ""; if ((r >>>= 0) <= (t >>>= 0))
            return ""; for (e || (e = "utf8");;) switch (e) {
            case "hex":
              return B(this, t, r);
            case "utf8":
            case "utf-8":
              return O(this, t, r);
            case "ascii":
              return R(this, t, r);
            case "latin1":
            case "binary":
              return k(this, t, r);
            case "base64":
              return I(this, t, r);
            case "ucs2":
            case "ucs-2":
            case "utf16le":
            case "utf-16le":
              return T(this, t, r);
            default:
              if (n) throw new TypeError("Unknown encoding: " + e);
              e = (e + "").toLowerCase(), n = !0 } }

        function b(e, t, r) { const n = e[t];
          e[t] = e[r], e[r] = n }

        function m(e, t, r, n, i) { if (0 === e.length) return -1; if ("string" == typeof r ? (n = r, r = 0) : r >
            2147483647 ? r = 2147483647 : r < -2147483648 && (r = -2147483648), Y(r = +r) && (r = i ? 0 : e.length - 1),
            r < 0 && (r = e.length + r), r >= e.length) { if (i) return -1;
            r = e.length - 1 } else if (r < 0) { if (!i) return -1;
            r = 0 } if ("string" == typeof t && (t = u.from(t, n)), u.isBuffer(t)) return 0 === t.length ? -1 : w(e, t,
            r, n, i); if ("number" == typeof t) return t &= 255, "function" == typeof Uint8Array.prototype.indexOf ? i ?
            Uint8Array.prototype.indexOf.call(e, t, r) : Uint8Array.prototype.lastIndexOf.call(e, t, r) : w(e, [t], r,
              n, i); throw new TypeError("val must be string, number or Buffer") }

        function w(e, t, r, n, i) { let o, s = 1,
            a = e.length,
            u = t.length; if (void 0 !== n && ("ucs2" === (n = String(n).toLowerCase()) || "ucs-2" === n ||
              "utf16le" === n || "utf-16le" === n)) { if (e.length < 2 || t.length < 2) return -1;
            s = 2, a /= 2, u /= 2, r /= 2 }

          function f(e, t) { return 1 === s ? e[t] : e.readUInt16BE(t * s) } if (i) { let n = -1; for (o = r; o <
              a; o++)
              if (f(e, o) === f(t, -1 === n ? 0 : o - n)) { if (-1 === n && (n = o), o - n + 1 === u) return n *
                s } else -1 !== n && (o -= o - n), n = -1 } else
            for (r + u > a && (r = a - u), o = r; o >= 0; o--) { let r = !0; for (let n = 0; n < u; n++)
                if (f(e, o + n) !== f(t, n)) { r = !1; break } if (r) return o }
          return -1 }

        function _(e, t, r, n) { r = Number(r) || 0; const i = e.length - r;
          n ? (n = Number(n)) > i && (n = i) : n = i; const o = t.length; let s; for (n > o / 2 && (n = o / 2), s =
            0; s < n; ++s) { const n = parseInt(t.substr(2 * s, 2), 16); if (Y(n)) return s;
            e[r + s] = n } return s }

        function v(e, t, r, n) { return z(K(t, e.length - r), e, r, n) }

        function S(e, t, r, n) { return z(function(e) { const t = []; for (let r = 0; r < e.length; ++r) t.push(255 & e
              .charCodeAt(r)); return t }(t), e, r, n) }

        function E(e, t, r, n) { return z(G(t), e, r, n) }

        function A(e, t, r, n) { return z(function(e, t) { let r, n, i; const o = []; for (let s = 0; s < e.length && !(
                (t -= 2) < 0); ++s) r = e.charCodeAt(s), n = r >> 8, i = r % 256, o.push(i), o.push(n); return o }(
            t, e.length - r), e, r, n) }

        function I(e, t, r) { return 0 === t && r === e.length ? n.fromByteArray(e) : n.fromByteArray(e.slice(t, r)) }

        function O(e, t, r) { r = Math.min(e.length, r); const n = []; let i = t; for (; i < r;) { const t = e[i]; let
              o = null,
              s = t > 239 ? 4 : t > 223 ? 3 : t > 191 ? 2 : 1; if (i + s <= r) { let r, n, a, u; switch (s) {
                case 1:
                  t < 128 && (o = t); break;
                case 2:
                  r = e[i + 1], 128 == (192 & r) && (u = (31 & t) << 6 | 63 & r, u > 127 && (o = u)); break;
                case 3:
                  r = e[i + 1], n = e[i + 2], 128 == (192 & r) && 128 == (192 & n) && (u = (15 & t) << 12 | (63 & r) <<
                    6 | 63 & n, u > 2047 && (u < 55296 || u > 57343) && (o = u)); break;
                case 4:
                  r = e[i + 1], n = e[i + 2], a = e[i + 3], 128 == (192 & r) && 128 == (192 & n) && 128 == (192 & a) &&
                    (u = (15 & t) << 18 | (63 & r) << 12 | (63 & n) << 6 | 63 & a, u > 65535 && u < 1114112 && (o =
                    u)) } } null === o ? (o = 65533, s = 1) : o > 65535 && (o -= 65536, n.push(o >>> 10 & 1023 | 55296),
              o = 56320 | 1023 & o), n.push(o), i += s } return function(e) { const t = e.length; if (t <= C)
            return String.fromCharCode.apply(String, e); let r = "",
              n = 0; for (; n < t;) r += String.fromCharCode.apply(String, e.slice(n, n += C)); return r }(n) } t
          .kMaxLength = s, u.TYPED_ARRAY_SUPPORT = function() { try { const e = new Uint8Array(1),
                t = { foo: function() { return 42 } }; return Object.setPrototypeOf(t, Uint8Array.prototype), Object
                .setPrototypeOf(e, t), 42 === e.foo() } catch (e) { return !1 } }(), u.TYPED_ARRAY_SUPPORT ||
          "undefined" == typeof console || "function" != typeof console.error || console.error(
            "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
            ), Object.defineProperty(u.prototype, "parent", { enumerable: !0, get: function() { if (u.isBuffer(this))
                return this.buffer } }), Object.defineProperty(u.prototype, "offset", { enumerable: !0,
        get: function() { if (u.isBuffer(this)) return this.byteOffset } }), u.poolSize = 8192, u.from = function(e, t,
            r) { return f(e, t, r) }, Object.setPrototypeOf(u.prototype, Uint8Array.prototype), Object.setPrototypeOf(u,
            Uint8Array), u.alloc = function(e, t, r) { return function(e, t, r) { return l(e), e <= 0 ? a(e) :
                void 0 !== t ? "string" == typeof r ? a(e).fill(t, r) : a(e).fill(t) : a(e) }(e, t, r) }, u
          .allocUnsafe = function(e) { return c(e) }, u.allocUnsafeSlow = function(e) { return c(e) }, u.isBuffer =
          function(e) { return null != e && !0 === e._isBuffer && e !== u.prototype }, u.compare = function(e, t) { if (
              Q(e, Uint8Array) && (e = u.from(e, e.offset, e.byteLength)), Q(t, Uint8Array) && (t = u.from(t, t.offset,
                t.byteLength)), !u.isBuffer(e) || !u.isBuffer(t)) throw new TypeError(
              'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'); if (e === t) return 0; let r = e
              .length,
              n = t.length; for (let i = 0, o = Math.min(r, n); i < o; ++i)
              if (e[i] !== t[i]) { r = e[i], n = t[i]; break } return r < n ? -1 : n < r ? 1 : 0 }, u.isEncoding =
          function(e) { switch (String(e).toLowerCase()) {
              case "hex":
              case "utf8":
              case "utf-8":
              case "ascii":
              case "latin1":
              case "binary":
              case "base64":
              case "ucs2":
              case "ucs-2":
              case "utf16le":
              case "utf-16le":
                return !0;
              default:
                return !1 } }, u.concat = function(e, t) { if (!Array.isArray(e)) throw new TypeError(
              '"list" argument must be an Array of Buffers'); if (0 === e.length) return u.alloc(0); let r; if (
              void 0 === t)
              for (t = 0, r = 0; r < e.length; ++r) t += e[r].length; const n = u.allocUnsafe(t); let i = 0; for (r =
              0; r < e.length; ++r) { let t = e[r]; if (Q(t, Uint8Array)) i + t.length > n.length ? (u.isBuffer(t) || (
                t = u.from(t)), t.copy(n, i)) : Uint8Array.prototype.set.call(n, t, i);
              else { if (!u.isBuffer(t)) throw new TypeError('"list" argument must be an Array of Buffers');
                t.copy(n, i) } i += t.length } return n }, u.byteLength = y, u.prototype._isBuffer = !0, u.prototype
          .swap16 = function() { const e = this.length; if (e % 2 != 0) throw new RangeError(
              "Buffer size must be a multiple of 16-bits"); for (let t = 0; t < e; t += 2) b(this, t, t +
            1); return this }, u.prototype.swap32 = function() { const e = this.length; if (e % 4 != 0)
            throw new RangeError("Buffer size must be a multiple of 32-bits"); for (let t = 0; t < e; t += 4) b(this, t,
              t + 3), b(this, t + 1, t + 2); return this }, u.prototype.swap64 = function() { const e = this
            .length; if (e % 8 != 0) throw new RangeError("Buffer size must be a multiple of 64-bits"); for (let t =
              0; t < e; t += 8) b(this, t, t + 7), b(this, t + 1, t + 6), b(this, t + 2, t + 5), b(this, t + 3, t +
            4); return this }, u.prototype.toString = function() { const e = this.length; return 0 === e ? "" : 0 ===
              arguments.length ? O(this, 0, e) : g.apply(this, arguments) }, u.prototype.toLocaleString = u.prototype
          .toString, u.prototype.equals = function(e) { if (!u.isBuffer(e)) throw new TypeError(
              "Argument must be a Buffer"); return this === e || 0 === u.compare(this, e) }, u.prototype.inspect =
          function() { let e = ""; const r = t.INSPECT_MAX_BYTES; return e = this.toString("hex", 0, r).replace(
              /(.{2})/g, "$1 ").trim(), this.length > r && (e += " ... "), "<Buffer " + e + ">" }, o && (u.prototype[
            o] = u.prototype.inspect), u.prototype.compare = function(e, t, r, n, i) { if (Q(e, Uint8Array) && (e = u
                .from(e, e.offset, e.byteLength)), !u.isBuffer(e)) throw new TypeError(
              'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof e); if (
              void 0 === t && (t = 0), void 0 === r && (r = e ? e.length : 0), void 0 === n && (n = 0), void 0 === i &&
              (i = this.length), t < 0 || r > e.length || n < 0 || i > this.length) throw new RangeError(
              "out of range index"); if (n >= i && t >= r) return 0; if (n >= i) return -1; if (t >= r) return 1; if (
              this === e) return 0; let o = (i >>>= 0) - (n >>>= 0),
              s = (r >>>= 0) - (t >>>= 0); const a = Math.min(o, s),
              f = this.slice(n, i),
              l = e.slice(t, r); for (let e = 0; e < a; ++e)
              if (f[e] !== l[e]) { o = f[e], s = l[e]; break } return o < s ? -1 : s < o ? 1 : 0 }, u.prototype
          .includes = function(e, t, r) { return -1 !== this.indexOf(e, t, r) }, u.prototype.indexOf = function(e, t,
          r) { return m(this, e, t, r, !0) }, u.prototype.lastIndexOf = function(e, t, r) { return m(this, e, t, r, !
            1) }, u.prototype.write = function(e, t, r, n) { if (void 0 === t) n = "utf8", r = this.length, t = 0;
            else if (void 0 === r && "string" == typeof t) n = t, r = this.length, t = 0;
            else { if (!isFinite(t)) throw new Error(
                "Buffer.write(string, encoding, offset[, length]) is no longer supported");
              t >>>= 0, isFinite(r) ? (r >>>= 0, void 0 === n && (n = "utf8")) : (n = r, r = void 0) } const i = this
              .length - t; if ((void 0 === r || r > i) && (r = i), e.length > 0 && (r < 0 || t < 0) || t > this.length)
              throw new RangeError("Attempt to write outside buffer bounds");
            n || (n = "utf8"); let o = !1; for (;;) switch (n) {
              case "hex":
                return _(this, e, t, r);
              case "utf8":
              case "utf-8":
                return v(this, e, t, r);
              case "ascii":
              case "latin1":
              case "binary":
                return S(this, e, t, r);
              case "base64":
                return E(this, e, t, r);
              case "ucs2":
              case "ucs-2":
              case "utf16le":
              case "utf-16le":
                return A(this, e, t, r);
              default:
                if (o) throw new TypeError("Unknown encoding: " + n);
                n = ("" + n).toLowerCase(), o = !0 } }, u.prototype.toJSON = function() { return { type: "Buffer",
              data: Array.prototype.slice.call(this._arr || this, 0) } }; const C = 4096;

        function R(e, t, r) { let n = "";
          r = Math.min(e.length, r); for (let i = t; i < r; ++i) n += String.fromCharCode(127 & e[i]); return n }

        function k(e, t, r) { let n = "";
          r = Math.min(e.length, r); for (let i = t; i < r; ++i) n += String.fromCharCode(e[i]); return n }

        function B(e, t, r) { const n = e.length;
          (!t || t < 0) && (t = 0), (!r || r < 0 || r > n) && (r = n); let i = ""; for (let n = t; n < r; ++n) i += J[e[
            n]]; return i }

        function T(e, t, r) { const n = e.slice(t, r); let i = ""; for (let e = 0; e < n.length - 1; e += 2) i += String
            .fromCharCode(n[e] + 256 * n[e + 1]); return i }

        function P(e, t, r) { if (e % 1 != 0 || e < 0) throw new RangeError("offset is not uint"); if (e + t > r)
          throw new RangeError("Trying to access beyond buffer length") }

        function M(e, t, r, n, i, o) { if (!u.isBuffer(e)) throw new TypeError(
            '"buffer" argument must be a Buffer instance'); if (t > i || t < o) throw new RangeError(
            '"value" argument is out of bounds'); if (r + n > e.length) throw new RangeError("Index out of range") }

        function U(e, t, r, n, i) { W(t, n, i, e, r, 7); let o = Number(t & BigInt(4294967295));
          e[r++] = o, o >>= 8, e[r++] = o, o >>= 8, e[r++] = o, o >>= 8, e[r++] = o; let s = Number(t >> BigInt(32) &
            BigInt(4294967295)); return e[r++] = s, s >>= 8, e[r++] = s, s >>= 8, e[r++] = s, s >>= 8, e[r++] = s, r }

        function x(e, t, r, n, i) { W(t, n, i, e, r, 7); let o = Number(t & BigInt(4294967295));
          e[r + 7] = o, o >>= 8, e[r + 6] = o, o >>= 8, e[r + 5] = o, o >>= 8, e[r + 4] = o; let s = Number(t >> BigInt(
            32) & BigInt(4294967295)); return e[r + 3] = s, s >>= 8, e[r + 2] = s, s >>= 8, e[r + 1] = s, s >>= 8, e[
            r] = s, r + 8 }

        function N(e, t, r, n, i, o) { if (r + n > e.length) throw new RangeError("Index out of range"); if (r < 0)
            throw new RangeError("Index out of range") }

        function j(e, t, r, n, o) { return t = +t, r >>>= 0, o || N(e, 0, r, 4), i.write(e, t, r, n, 23, 4), r + 4 }

        function L(e, t, r, n, o) { return t = +t, r >>>= 0, o || N(e, 0, r, 8), i.write(e, t, r, n, 52, 8), r + 8 } u
          .prototype.slice = function(e, t) { const r = this.length;
            (e = ~~e) < 0 ? (e += r) < 0 && (e = 0) : e > r && (e = r), (t = void 0 === t ? r : ~~t) < 0 ? (t += r) <
              0 && (t = 0) : t > r && (t = r), t < e && (t = e); const n = this.subarray(e, t); return Object
              .setPrototypeOf(n, u.prototype), n }, u.prototype.readUintLE = u.prototype.readUIntLE = function(e, t,
          r) { e >>>= 0, t >>>= 0, r || P(e, t, this.length); let n = this[e],
              i = 1,
              o = 0; for (; ++o < t && (i *= 256);) n += this[e + o] * i; return n }, u.prototype.readUintBE = u
          .prototype.readUIntBE = function(e, t, r) { e >>>= 0, t >>>= 0, r || P(e, t, this.length); let n = this[e + --
                t],
              i = 1; for (; t > 0 && (i *= 256);) n += this[e + --t] * i; return n }, u.prototype.readUint8 = u
          .prototype.readUInt8 = function(e, t) { return e >>>= 0, t || P(e, 1, this.length), this[e] }, u.prototype
          .readUint16LE = u.prototype.readUInt16LE = function(e, t) { return e >>>= 0, t || P(e, 2, this.length), this[
              e] | this[e + 1] << 8 }, u.prototype.readUint16BE = u.prototype.readUInt16BE = function(e,
          t) { return e >>>= 0, t || P(e, 2, this.length), this[e] << 8 | this[e + 1] }, u.prototype.readUint32LE = u
          .prototype.readUInt32LE = function(e, t) { return e >>>= 0, t || P(e, 4, this.length), (this[e] | this[e +
              1] << 8 | this[e + 2] << 16) + 16777216 * this[e + 3] }, u.prototype.readUint32BE = u.prototype
          .readUInt32BE = function(e, t) { return e >>>= 0, t || P(e, 4, this.length), 16777216 * this[e] + (this[e +
              1] << 16 | this[e + 2] << 8 | this[e + 3]) }, u.prototype.readBigUInt64LE = Z((function(e) { $(e >>>= 0,
              "offset"); const t = this[e],
              r = this[e + 7];
            void 0 !== t && void 0 !== r || H(e, this.length - 8); const n = t + 256 * this[++e] + 65536 * this[++
              e] + this[++e] * 2 ** 24,
              i = this[++e] + 256 * this[++e] + 65536 * this[++e] + r * 2 ** 24; return BigInt(n) + (BigInt(i) <<
              BigInt(32)) })), u.prototype.readBigUInt64BE = Z((function(e) { $(e >>>= 0, "offset"); const t = this[e],
              r = this[e + 7];
            void 0 !== t && void 0 !== r || H(e, this.length - 8); const n = t * 2 ** 24 + 65536 * this[++e] + 256 *
              this[++e] + this[++e],
              i = this[++e] * 2 ** 24 + 65536 * this[++e] + 256 * this[++e] + r; return (BigInt(n) << BigInt(32)) +
              BigInt(i) })), u.prototype.readIntLE = function(e, t, r) { e >>>= 0, t >>>= 0, r || P(e, t, this
            .length); let n = this[e],
              i = 1,
              o = 0; for (; ++o < t && (i *= 256);) n += this[e + o] * i; return i *= 128, n >= i && (n -= Math.pow(2,
              8 * t)), n }, u.prototype.readIntBE = function(e, t, r) { e >>>= 0, t >>>= 0, r || P(e, t, this
            .length); let n = t,
              i = 1,
              o = this[e + --n]; for (; n > 0 && (i *= 256);) o += this[e + --n] * i; return i *= 128, o >= i && (o -=
              Math.pow(2, 8 * t)), o }, u.prototype.readInt8 = function(e, t) { return e >>>= 0, t || P(e, 1, this
              .length), 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e] }, u.prototype.readInt16LE = function(e,
          t) { e >>>= 0, t || P(e, 2, this.length); const r = this[e] | this[e + 1] << 8; return 32768 & r ?
              4294901760 | r : r }, u.prototype.readInt16BE = function(e, t) { e >>>= 0, t || P(e, 2, this
            .length); const r = this[e + 1] | this[e] << 8; return 32768 & r ? 4294901760 | r : r }, u.prototype
          .readInt32LE = function(e, t) { return e >>>= 0, t || P(e, 4, this.length), this[e] | this[e + 1] << 8 | this[
              e + 2] << 16 | this[e + 3] << 24 }, u.prototype.readInt32BE = function(e, t) { return e >>>= 0, t || P(e,
              4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3] }, u.prototype
          .readBigInt64LE = Z((function(e) { $(e >>>= 0, "offset"); const t = this[e],
              r = this[e + 7];
            void 0 !== t && void 0 !== r || H(e, this.length - 8); const n = this[e + 4] + 256 * this[e + 5] +
              65536 * this[e + 6] + (r << 24); return (BigInt(n) << BigInt(32)) + BigInt(t + 256 * this[++e] +
              65536 * this[++e] + this[++e] * 2 ** 24) })), u.prototype.readBigInt64BE = Z((function(e) { $(e >>>= 0,
              "offset"); const t = this[e],
              r = this[e + 7];
            void 0 !== t && void 0 !== r || H(e, this.length - 8); const n = (t << 24) + 65536 * this[++e] + 256 *
              this[++e] + this[++e]; return (BigInt(n) << BigInt(32)) + BigInt(this[++e] * 2 ** 24 + 65536 * this[++
              e] + 256 * this[++e] + r) })), u.prototype.readFloatLE = function(e, t) { return e >>>= 0, t || P(e, 4,
              this.length), i.read(this, e, !0, 23, 4) }, u.prototype.readFloatBE = function(e, t) { return e >>>= 0,
              t || P(e, 4, this.length), i.read(this, e, !1, 23, 4) }, u.prototype.readDoubleLE = function(e,
          t) { return e >>>= 0, t || P(e, 8, this.length), i.read(this, e, !0, 52, 8) }, u.prototype.readDoubleBE =
          function(e, t) { return e >>>= 0, t || P(e, 8, this.length), i.read(this, e, !1, 52, 8) }, u.prototype
          .writeUintLE = u.prototype.writeUIntLE = function(e, t, r, n) { e = +e, t >>>= 0, r >>>= 0, n || M(this, e, t,
              r, Math.pow(2, 8 * r) - 1, 0); let i = 1,
              o = 0; for (this[t] = 255 & e; ++o < r && (i *= 256);) this[t + o] = e / i & 255; return t + r }, u
          .prototype.writeUintBE = u.prototype.writeUIntBE = function(e, t, r, n) { e = +e, t >>>= 0, r >>>= 0, n || M(
              this, e, t, r, Math.pow(2, 8 * r) - 1, 0); let i = r - 1,
              o = 1; for (this[t + i] = 255 & e; --i >= 0 && (o *= 256);) this[t + i] = e / o & 255; return t + r }, u
          .prototype.writeUint8 = u.prototype.writeUInt8 = function(e, t, r) { return e = +e, t >>>= 0, r || M(this, e,
              t, 1, 255, 0), this[t] = 255 & e, t + 1 }, u.prototype.writeUint16LE = u.prototype.writeUInt16LE =
          function(e, t, r) { return e = +e, t >>>= 0, r || M(this, e, t, 2, 65535, 0), this[t] = 255 & e, this[t + 1] =
              e >>> 8, t + 2 }, u.prototype.writeUint16BE = u.prototype.writeUInt16BE = function(e, t, r) { return e = +
              e, t >>>= 0, r || M(this, e, t, 2, 65535, 0), this[t] = e >>> 8, this[t + 1] = 255 & e, t + 2 }, u
          .prototype.writeUint32LE = u.prototype.writeUInt32LE = function(e, t, r) { return e = +e, t >>>= 0, r || M(
                this, e, t, 4, 4294967295, 0), this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8,
              this[t] = 255 & e, t + 4 }, u.prototype.writeUint32BE = u.prototype.writeUInt32BE = function(e, t,
          r) { return e = +e, t >>>= 0, r || M(this, e, t, 4, 4294967295, 0), this[t] = e >>> 24, this[t + 1] = e >>>
              16, this[t + 2] = e >>> 8, this[t + 3] = 255 & e, t + 4 }, u.prototype.writeBigUInt64LE = Z((function(e,
            t = 0) { return U(this, e, t, BigInt(0), BigInt("0xffffffffffffffff")) })), u.prototype.writeBigUInt64BE =
          Z((function(e, t = 0) { return x(this, e, t, BigInt(0), BigInt("0xffffffffffffffff")) })), u.prototype
          .writeIntLE = function(e, t, r, n) { if (e = +e, t >>>= 0, !n) { const n = Math.pow(2, 8 * r - 1);
              M(this, e, t, r, n - 1, -n) } let i = 0,
              o = 1,
              s = 0; for (this[t] = 255 & e; ++i < r && (o *= 256);) e < 0 && 0 === s && 0 !== this[t + i - 1] && (s =
              1), this[t + i] = (e / o >> 0) - s & 255; return t + r }, u.prototype.writeIntBE = function(e, t, r,
          n) { if (e = +e, t >>>= 0, !n) { const n = Math.pow(2, 8 * r - 1);
              M(this, e, t, r, n - 1, -n) } let i = r - 1,
              o = 1,
              s = 0; for (this[t + i] = 255 & e; --i >= 0 && (o *= 256);) e < 0 && 0 === s && 0 !== this[t + i + 1] && (
              s = 1), this[t + i] = (e / o >> 0) - s & 255; return t + r }, u.prototype.writeInt8 = function(e, t,
          r) { return e = +e, t >>>= 0, r || M(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), this[t] = 255 & e,
              t + 1 }, u.prototype.writeInt16LE = function(e, t, r) { return e = +e, t >>>= 0, r || M(this, e, t, 2,
              32767, -32768), this[t] = 255 & e, this[t + 1] = e >>> 8, t + 2 }, u.prototype.writeInt16BE = function(e,
            t, r) { return e = +e, t >>>= 0, r || M(this, e, t, 2, 32767, -32768), this[t] = e >>> 8, this[t + 1] =
              255 & e, t + 2 }, u.prototype.writeInt32LE = function(e, t, r) { return e = +e, t >>>= 0, r || M(this, e,
              t, 4, 2147483647, -2147483648), this[t] = 255 & e, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[
              t + 3] = e >>> 24, t + 4 }, u.prototype.writeInt32BE = function(e, t, r) { return e = +e, t >>>= 0, r ||
              M(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), this[t] = e >>> 24, this[t +
                1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = 255 & e, t + 4 }, u.prototype.writeBigInt64LE = Z((
            function(e, t = 0) { return U(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff")) })),
          u.prototype.writeBigInt64BE = Z((function(e, t = 0) { return x(this, e, t, -BigInt("0x8000000000000000"),
              BigInt("0x7fffffffffffffff")) })), u.prototype.writeFloatLE = function(e, t, r) { return j(this, e, t, !0,
              r) }, u.prototype.writeFloatBE = function(e, t, r) { return j(this, e, t, !1, r) }, u.prototype
          .writeDoubleLE = function(e, t, r) { return L(this, e, t, !0, r) }, u.prototype.writeDoubleBE = function(e, t,
            r) { return L(this, e, t, !1, r) }, u.prototype.copy = function(e, t, r, n) { if (!u.isBuffer(e))
            throw new TypeError("argument should be a Buffer"); if (r || (r = 0), n || 0 === n || (n = this.length),
              t >= e.length && (t = e.length), t || (t = 0), n > 0 && n < r && (n = r), n === r) return 0; if (0 === e
              .length || 0 === this.length) return 0; if (t < 0) throw new RangeError("targetStart out of bounds"); if (
              r < 0 || r >= this.length) throw new RangeError("Index out of range"); if (n < 0) throw new RangeError(
              "sourceEnd out of bounds");
            n > this.length && (n = this.length), e.length - t < n - r && (n = e.length - t + r); const i = n -
            r; return this === e && "function" == typeof Uint8Array.prototype.copyWithin ? this.copyWithin(t, r, n) :
              Uint8Array.prototype.set.call(e, this.subarray(r, n), t), i }, u.prototype.fill = function(e, t, r,
          n) { if ("string" == typeof e) { if ("string" == typeof t ? (n = t, t = 0, r = this.length) : "string" ==
                typeof r && (n = r, r = this.length), void 0 !== n && "string" != typeof n) throw new TypeError(
                "encoding must be a string"); if ("string" == typeof n && !u.isEncoding(n)) throw new TypeError(
                "Unknown encoding: " + n); if (1 === e.length) { const t = e.charCodeAt(0);
                ("utf8" === n && t < 128 || "latin1" === n) && (e = t) } } else "number" == typeof e ? e &= 255 :
              "boolean" == typeof e && (e = Number(e)); if (t < 0 || this.length < t || this.length < r)
            throw new RangeError("Out of range index"); if (r <= t) return this; let i; if (t >>>= 0, r = void 0 === r ?
              this.length : r >>> 0, e || (e = 0), "number" == typeof e)
              for (i = t; i < r; ++i) this[i] = e;
            else { const o = u.isBuffer(e) ? e : u.from(e, n),
                s = o.length; if (0 === s) throw new TypeError('The value "' + e +
              '" is invalid for argument "value"'); for (i = 0; i < r - t; ++i) this[i + t] = o[i %
            s] } return this }; const F = {};

        function D(e, t, r) { F[e] = class extends r { constructor() { super(), Object.defineProperty(this,
                  "message", { value: t.apply(this, arguments), writable: !0, configurable: !0 }), this.name =
                  `${this.name} [${e}]`, this.stack, delete this.name } get code() { return e } set code(e) { Object
                  .defineProperty(this, "code", { configurable: !0, enumerable: !0, value: e, writable: !
                    0 }) } toString() { return `${this.name} [${e}]: ${this.message}` } } }

        function V(e) { let t = "",
            r = e.length; const n = "-" === e[0] ? 1 : 0; for (; r >= n + 4; r -= 3) t =
          `_${e.slice(r-3,r)}${t}`; return `${e.slice(0,r)}${t}` }

        function W(e, t, r, n, i, o) { if (e > r || e < t) { const n = "bigint" == typeof t ? "n" : ""; let i; throw i =
              o > 3 ? 0 === t || t === BigInt(0) ? `>= 0${n} and < 2${n} ** ${8*(o+1)}${n}` :
              `>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}` : `>= ${t}${n} and <= ${r}${n}`, new F
              .ERR_OUT_OF_RANGE("value", i, e) }! function(e, t, r) { $(t, "offset"), void 0 !== e[t] && void 0 !== e[
              t + r] || H(t, e.length - (r + 1)) }(n, i, o) }

        function $(e, t) { if ("number" != typeof e) throw new F.ERR_INVALID_ARG_TYPE(t, "number", e) }

        function H(e, t, r) { if (Math.floor(e) !== e) throw $(e, r), new F.ERR_OUT_OF_RANGE(r || "offset",
            "an integer", e); if (t < 0) throw new F.ERR_BUFFER_OUT_OF_BOUNDS; throw new F.ERR_OUT_OF_RANGE(r ||
            "offset", `>= ${r?1:0} and <= ${t}`, e) } D("ERR_BUFFER_OUT_OF_BOUNDS", (function(e) { return e ?
            `${e} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds" }), RangeError), D(
          "ERR_INVALID_ARG_TYPE", (function(e,
          t) { return `The "${e}" argument must be of type number. Received type ${typeof t}` }), TypeError), D(
          "ERR_OUT_OF_RANGE", (function(e, t, r) { let n = `The value of "${e}" is out of range.`,
              i = r; return Number.isInteger(r) && Math.abs(r) > 2 ** 32 ? i = V(String(r)) : "bigint" ==
              typeof r && (i = String(r), (r > BigInt(2) ** BigInt(32) || r < -(BigInt(2) ** BigInt(32))) && (i = V(
                i)), i += "n"), n += ` It must be ${t}. Received ${i}`, n }), RangeError); const q =
        /[^+/0-9A-Za-z-_]/g;

        function K(e, t) { let r;
          t = t || 1 / 0; const n = e.length; let i = null; const o = []; for (let s = 0; s < n; ++s) { if (r = e
              .charCodeAt(s), r > 55295 && r < 57344) { if (!i) { if (r > 56319) {
                  (t -= 3) > -1 && o.push(239, 191, 189); continue } if (s + 1 === n) {
                  (t -= 3) > -1 && o.push(239, 191, 189); continue } i = r; continue } if (r < 56320) {
                (t -= 3) > -1 && o.push(239, 191, 189), i = r; continue } r = 65536 + (i - 55296 << 10 | r -
              56320) } else i && (t -= 3) > -1 && o.push(239, 191, 189); if (i = null, r < 128) { if ((t -= 1) < 0)
                break;
              o.push(r) } else if (r < 2048) { if ((t -= 2) < 0) break;
              o.push(r >> 6 | 192, 63 & r | 128) } else if (r < 65536) { if ((t -= 3) < 0) break;
              o.push(r >> 12 | 224, r >> 6 & 63 | 128, 63 & r | 128) } else { if (!(r < 1114112)) throw new Error(
                "Invalid code point"); if ((t -= 4) < 0) break;
              o.push(r >> 18 | 240, r >> 12 & 63 | 128, r >> 6 & 63 | 128, 63 & r | 128) } } return o }

        function G(e) { return n.toByteArray(function(e) { if ((e = (e = e.split("=")[0]).trim().replace(q, ""))
              .length < 2) return ""; for (; e.length % 4 != 0;) e += "="; return e }(e)) }

        function z(e, t, r, n) { let i; for (i = 0; i < n && !(i + r >= t.length || i >= e.length); ++i) t[i + r] = e[
          i]; return i }

        function Q(e, t) { return e instanceof t || null != e && null != e.constructor && null != e.constructor.name &&
            e.constructor.name === t.name }

        function Y(e) { return e != e } const J = function() { const e = "0123456789abcdef",
            t = new Array(256); for (let r = 0; r < 16; ++r) { const n = 16 * r; for (let i = 0; i < 16; ++i) t[n +
              i] = e[r] + e[i] } return t }();

        function Z(e) { return "undefined" == typeof BigInt ? X : e }

        function X() { throw new Error("BigInt not supported") } }, 1924: (e, t, r) => { var n = r(210),
        i = r(5559),
        o = i(n("String.prototype.indexOf"));
      e.exports = function(e, t) { var r = n(e, !!t); return "function" == typeof r && o(e, ".prototype.") > -1 ? i(
          r) : r } }, 5559: (e, t, r) => { var n = r(8612),
        i = r(210),
        o = i("%Function.prototype.apply%"),
        s = i("%Function.prototype.call%"),
        a = i("%Reflect.apply%", !0) || n.call(s, o),
        u = i("%Object.getOwnPropertyDescriptor%", !0),
        f = i("%Object.defineProperty%", !0),
        l = i("%Math.max%"); if (f) try { f({}, "a", { value: 1 }) } catch (e) { f = null } e.exports = function(
      e) { var t = a(n, s, arguments); if (u && f) { var r = u(t, "length");
          r.configurable && f(t, "length", { value: 1 + l(0, e.length - (arguments.length - 1)) }) } return t }; var
        c = function() { return a(n, o, arguments) };
      f ? f(e.exports, "apply", { value: c }) : e.exports.apply = c }, 1227: (e, t, r) => { var n = r(4155);
      t.formatArgs = function(t) { if (t[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ?
              " %c" : " ") + t[0] + (this.useColors ? "%c " : " ") + "+" + e.exports.humanize(this.diff), !this
            .useColors) return; const r = "color: " + this.color;
          t.splice(1, 0, r, "color: inherit"); let n = 0,
            i = 0;
          t[0].replace(/%[a-zA-Z%]/g, (e => { "%%" !== e && (n++, "%c" === e && (i = n)) })), t.splice(i, 0, r) }, t
        .save = function(e) { try { e ? t.storage.setItem("debug", e) : t.storage.removeItem("debug") } catch (
          e) {} }, t.load = function() { let e; try { e = t.storage.getItem("debug") } catch (e) {} return !e &&
            void 0 !== n && "env" in n && (e = n.env.DEBUG), e }, t.useColors = function() { return !("undefined" ==
            typeof window || !window.process || "renderer" !== window.process.type && !window.process.__nwjs) || (
            "undefined" == typeof navigator || !navigator.userAgent || !navigator.userAgent.toLowerCase().match(
              /(edge|trident)\/(\d+)/)) && ("undefined" != typeof document && document.documentElement && document
            .documentElement.style && document.documentElement.style.WebkitAppearance || "undefined" !=
            typeof window && window.console && (window.console.firebug || window.console.exception && window.console
              .table) || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase()
            .match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || "undefined" != typeof navigator &&
            navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)) }, t.storage =
        function() { try { return localStorage } catch (e) {} }(), t.destroy = (() => { let e = !1; return () => { e
              || (e = !0, console.warn(
                "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
                )) } })(), t.colors = ["#0000CC", "#0000FF", "#0033CC", "#0033FF", "#0066CC", "#0066FF", "#0099CC",
          "#0099FF", "#00CC00", "#00CC33", "#00CC66", "#00CC99", "#00CCCC", "#00CCFF", "#3300CC", "#3300FF",
          "#3333CC", "#3333FF", "#3366CC", "#3366FF", "#3399CC", "#3399FF", "#33CC00", "#33CC33", "#33CC66",
          "#33CC99", "#33CCCC", "#33CCFF", "#6600CC", "#6600FF", "#6633CC", "#6633FF", "#66CC00", "#66CC33",
          "#9900CC", "#9900FF", "#9933CC", "#9933FF", "#99CC00", "#99CC33", "#CC0000", "#CC0033", "#CC0066",
          "#CC0099", "#CC00CC", "#CC00FF", "#CC3300", "#CC3333", "#CC3366", "#CC3399", "#CC33CC", "#CC33FF",
          "#CC6600", "#CC6633", "#CC9900", "#CC9933", "#CCCC00", "#CCCC33", "#FF0000", "#FF0033", "#FF0066",
          "#FF0099", "#FF00CC", "#FF00FF", "#FF3300", "#FF3333", "#FF3366", "#FF3399", "#FF33CC", "#FF33FF",
          "#FF6600", "#FF6633", "#FF9900", "#FF9933", "#FFCC00", "#FFCC33"
        ], t.log = console.debug || console.log || (() => {}), e.exports = r(2447)(t); const { formatters: i } = e
        .exports;
      i.j = function(e) { try { return JSON.stringify(e) } catch (e) { return "[UnexpectedJSONParseError]: " + e
            .message } } }, 2447: (e, t, r) => { e.exports = function(e) {
        function t(e) { let r, i, o, s = null;

          function a(...e) { if (!a.enabled) return; const n = a,
              i = Number(new Date),
              o = i - (r || i);
            n.diff = o, n.prev = r, n.curr = i, r = i, e[0] = t.coerce(e[0]), "string" != typeof e[0] && e.unshift(
              "%O"); let s = 0;
            e[0] = e[0].replace(/%([a-zA-Z%])/g, ((r, i) => { if ("%%" === r) return "%";
                s++; const o = t.formatters[i]; if ("function" == typeof o) { const t = e[s];
                  r = o.call(n, t), e.splice(s, 1), s-- } return r })), t.formatArgs.call(n, e), (n.log || t.log)
              .apply(n, e) } return a.namespace = e, a.useColors = t.useColors(), a.color = t.selectColor(e), a
            .extend = n, a.destroy = t.destroy, Object.defineProperty(a, "enabled", { enumerable: !0, configurable:
                !1, get: () => null !== s ? s : (i !== t.namespaces && (i = t.namespaces, o = t.enabled(e)), o),
              set: e => { s = e } }), "function" == typeof t.init && t.init(a), a }

        function n(e, r) { const n = t(this.namespace + (void 0 === r ? ":" : r) + e); return n.log = this.log, n }

        function i(e) { return e.toString().substring(2, e.toString().length - 2).replace(/\.\*\?$/, "*") } return t
          .debug = t, t.default = t, t.coerce = function(e) { return e instanceof Error ? e.stack || e.message :
            e }, t.disable = function() { const e = [...t.names.map(i), ...t.skips.map(i).map((e => "-" + e))].join(
              ","); return t.enable(""), e }, t.enable = function(e) { let r;
            t.save(e), t.namespaces = e, t.names = [], t.skips = []; const n = ("string" == typeof e ? e : "")
              .split(/[\s,]+/),
              i = n.length; for (r = 0; r < i; r++) n[r] && ("-" === (e = n[r].replace(/\*/g, ".*?"))[0] ? t.skips
              .push(new RegExp("^" + e.slice(1) + "$")) : t.names.push(new RegExp("^" + e + "$"))) }, t.enabled =
          function(e) { if ("*" === e[e.length - 1]) return !0; let r, n; for (r = 0, n = t.skips.length; r <
              n; r++)
              if (t.skips[r].test(e)) return !1; for (r = 0, n = t.names.length; r < n; r++)
              if (t.names[r].test(e)) return !0; return !1 }, t.humanize = r(7824), t.destroy = function() { console
              .warn(
                "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
                ) }, Object.keys(e).forEach((r => { t[r] = e[r] })), t.names = [], t.skips = [], t.formatters = {},
          t.selectColor = function(e) { let r = 0; for (let t = 0; t < e.length; t++) r = (r << 5) - r + e
              .charCodeAt(t), r |= 0; return t.colors[Math.abs(r) % t.colors.length] }, t.enable(t.load()), t } },
    5158: (e, t, r) => { var n = r(4155);
        void 0 === n || "renderer" === n.type || !0 === n.browser || n.__nwjs ? e.exports = r(1227) : e.exports = r(
        39) }, 39: (e, t, r) => { var n = r(4155); const i = r(4627),
        o = r(9539);
      t.init = function(e) { e.inspectOpts = {}; const r = Object.keys(t.inspectOpts); for (let n = 0; n < r
            .length; n++) e.inspectOpts[r[n]] = t.inspectOpts[r[n]] }, t.log = function(...e) { return n.stderr.write(
            o.format(...e) + "\n") }, t.formatArgs = function(r) { const { namespace: n, useColors: i } = this; if (
            i) { const t = this.color,
              i = "[3" + (t < 8 ? t : "8;5;" + t),
              o = `  ${i};1m${n} [0m`;
            r[0] = o + r[0].split("\n").join("\n" + o), r.push(i + "m+" + e.exports.humanize(this.diff) +
            "[0m") } else r[0] = (t.inspectOpts.hideDate ? "" : (new Date).toISOString() + " ") + n + " " + r[0] }, t
        .save = function(e) { e ? n.env.DEBUG = e : delete n.env.DEBUG }, t.load = function() { return n.env.DEBUG },
        t.useColors = function() { return "colors" in t.inspectOpts ? Boolean(t.inspectOpts.colors) : i.isatty(n
            .stderr.fd) }, t.destroy = o.deprecate((() => {}),
          "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
          ), t.colors = [6, 2, 3, 4, 5, 1]; try { const e = r(8555);
        e && (e.stderr || e).level >= 2 && (t.colors = [20, 21, 26, 27, 32, 33, 38, 39, 40, 41, 42, 43, 44, 45, 56,
          57, 62, 63, 68, 69, 74, 75, 76, 77, 78, 79, 80, 81, 92, 93, 98, 99, 112, 113, 128, 129, 134, 135, 148,
          149, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 178, 179, 184, 185, 196, 197,
          198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 214, 215, 220, 221
        ]) } catch (e) {} t.inspectOpts = Object.keys(n.env).filter((e => /^debug_/i.test(e))).reduce(((e,
      t) => { const r = t.substring(6).toLowerCase().replace(/_([a-z])/g, ((e, t) => t.toUpperCase())); let i =
          n.env[t]; return i = !!/^(yes|on|true|enabled)$/i.test(i) || !/^(no|off|false|disabled)$/i.test(i) &&
          ("null" === i ? null : Number(i)), e[r] = i, e }), {}), e.exports = r(2447)(t); const { formatters: s } = e
        .exports;
      s.o = function(e) { return this.inspectOpts.colors = this.useColors, o.inspect(e, this.inspectOpts).split("\n")
          .map((e => e.trim())).join(" ") }, s.O = function(e) { return this.inspectOpts.colors = this.useColors, o
          .inspect(e, this.inspectOpts) } }, 7187: e => { var t, r = "object" == typeof Reflect ? Reflect : null,
        n = r && "function" == typeof r.apply ? r.apply : function(e, t, r) { return Function.prototype.apply.call(e,
            t, r) };
      t = r && "function" == typeof r.ownKeys ? r.ownKeys : Object.getOwnPropertySymbols ? function(e) { return Object
          .getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e)) } : function(e) { return Object
          .getOwnPropertyNames(e) }; var i = Number.isNaN || function(e) { return e != e };

      function o() { o.init.call(this) } e.exports = o, e.exports.once = function(e, t) { return new Promise((
            function(r, n) {
              function i(r) { e.removeListener(t, o), n(r) }

              function o() { "function" == typeof e.removeListener && e.removeListener("error", i), r([].slice
                  .call(arguments)) } y(e, t, o, { once: !0 }), "error" !== t && function(e, t, r) { "function" ==
                typeof e.on && y(e, "error", t, { once: !0 }) }(e, i) })) }, o.EventEmitter = o, o.prototype._events =
        void 0, o.prototype._eventsCount = 0, o.prototype._maxListeners = void 0; var s = 10;

      function a(e) { if ("function" != typeof e) throw new TypeError(
          'The "listener" argument must be of type Function. Received type ' + typeof e) }

      function u(e) { return void 0 === e._maxListeners ? o.defaultMaxListeners : e._maxListeners }

      function f(e, t, r, n) { var i, o, s, f; if (a(r), void 0 === (o = e._events) ? (o = e._events = Object.create(
            null), e._eventsCount = 0) : (void 0 !== o.newListener && (e.emit("newListener", t, r.listener ? r
            .listener : r), o = e._events), s = o[t]), void 0 === s) s = o[t] = r, ++e._eventsCount;
        else if ("function" == typeof s ? s = o[t] = n ? [r, s] : [s, r] : n ? s.unshift(r) : s.push(r), (i = u(e)) >
          0 && s.length > i && !s.warned) { s.warned = !0; var l = new Error(
            "Possible EventEmitter memory leak detected. " + s.length + " " + String(t) +
            " listeners added. Use emitter.setMaxListeners() to increase limit");
          l.name = "MaxListenersExceededWarning", l.emitter = e, l.type = t, l.count = s.length, f = l, console &&
            console.warn && console.warn(f) } return e }

      function l() { if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), this.fired = !0,
          0 === arguments.length ? this.listener.call(this.target) : this.listener.apply(this.target, arguments) }

      function c(e, t, r) { var n = { fired: !1, wrapFn: void 0, target: e, type: t, listener: r },
          i = l.bind(n); return i.listener = r, n.wrapFn = i, i }

      function p(e, t, r) { var n = e._events; if (void 0 === n) return []; var i = n[t]; return void 0 === i ? [] :
          "function" == typeof i ? r ? [i.listener || i] : [i] : r ? function(e) { for (var t = new Array(e.length),
                r = 0; r < t.length; ++r) t[r] = e[r].listener || e[r]; return t }(i) : d(i, i.length) }

      function h(e) { var t = this._events; if (void 0 !== t) { var r = t[e]; if ("function" == typeof r)
        return 1; if (void 0 !== r) return r.length } return 0 }

      function d(e, t) { for (var r = new Array(t), n = 0; n < t; ++n) r[n] = e[n]; return r }

      function y(e, t, r, n) { if ("function" == typeof e.on) n.once ? e.once(t, r) : e.on(t, r);
        else { if ("function" != typeof e.addEventListener) throw new TypeError(
            'The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
          e.addEventListener(t, (function i(o) { n.once && e.removeEventListener(t, i), r(o) })) } } Object
        .defineProperty(o, "defaultMaxListeners", { enumerable: !0, get: function() { return s }, set: function(
          e) { if ("number" != typeof e || e < 0 || i(e)) throw new RangeError(
              'The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' +
              e + ".");
            s = e } }), o.init = function() { void 0 !== this._events && this._events !== Object.getPrototypeOf(this)
            ._events || (this._events = Object.create(null), this._eventsCount = 0), this._maxListeners = this
            ._maxListeners || void 0 }, o.prototype.setMaxListeners = function(e) { if ("number" != typeof e || e <
            0 || i(e)) throw new RangeError(
            'The value of "n" is out of range. It must be a non-negative number. Received ' + e + "."); return this
            ._maxListeners = e, this }, o.prototype.getMaxListeners = function() { return u(this) }, o.prototype
        .emit = function(e) { for (var t = [], r = 1; r < arguments.length; r++) t.push(arguments[r]); var i =
            "error" === e,
            o = this._events; if (void 0 !== o) i = i && void 0 === o.error;
          else if (!i) return !1; if (i) { var s; if (t.length > 0 && (s = t[0]), s instanceof Error) throw s; var a =
              new Error("Unhandled error." + (s ? " (" + s.message + ")" : "")); throw a.context = s, a } var u = o[
          e]; if (void 0 === u) return !1; if ("function" == typeof u) n(u, this, t);
          else { var f = u.length,
              l = d(u, f); for (r = 0; r < f; ++r) n(l[r], this, t) } return !0 }, o.prototype.addListener = function(
          e, t) { return f(this, e, t, !1) }, o.prototype.on = o.prototype.addListener, o.prototype.prependListener =
        function(e, t) { return f(this, e, t, !0) }, o.prototype.once = function(e, t) { return a(t), this.on(e, c(
            this, e, t)), this }, o.prototype.prependOnceListener = function(e, t) { return a(t), this
            .prependListener(e, c(this, e, t)), this }, o.prototype.removeListener = function(e, t) { var r, n, i, o,
            s; if (a(t), void 0 === (n = this._events)) return this; if (void 0 === (r = n[e])) return this; if (r ===
            t || r.listener === t) 0 == --this._eventsCount ? this._events = Object.create(null) : (delete n[e], n
            .removeListener && this.emit("removeListener", e, r.listener || t));
          else if ("function" != typeof r) { for (i = -1, o = r.length - 1; o >= 0; o--)
              if (r[o] === t || r[o].listener === t) { s = r[o].listener, i = o; break } if (i < 0) return this;
            0 === i ? r.shift() : function(e, t) { for (; t + 1 < e.length; t++) e[t] = e[t + 1];
              e.pop() }(r, i), 1 === r.length && (n[e] = r[0]), void 0 !== n.removeListener && this.emit(
              "removeListener", e, s || t) } return this }, o.prototype.off = o.prototype.removeListener, o.prototype
        .removeAllListeners = function(e) { var t, r, n; if (void 0 === (r = this._events)) return this; if (
            void 0 === r.removeListener) return 0 === arguments.length ? (this._events = Object.create(null), this
            ._eventsCount = 0) : void 0 !== r[e] && (0 == --this._eventsCount ? this._events = Object.create(
            null) : delete r[e]), this; if (0 === arguments.length) { var i, o = Object.keys(r); for (n = 0; n < o
              .length; ++n) "removeListener" !== (i = o[n]) && this.removeAllListeners(i); return this
              .removeAllListeners("removeListener"), this._events = Object.create(null), this._eventsCount = 0,
              this } if ("function" == typeof(t = r[e])) this.removeListener(e, t);
          else if (void 0 !== t)
            for (n = t.length - 1; n >= 0; n--) this.removeListener(e, t[n]); return this }, o.prototype.listeners =
        function(e) { return p(this, e, !0) }, o.prototype.rawListeners = function(e) { return p(this, e, !1) }, o
        .listenerCount = function(e, t) { return "function" == typeof e.listenerCount ? e.listenerCount(t) : h.call(e,
            t) }, o.prototype.listenerCount = h, o.prototype.eventNames = function() { return this._eventsCount > 0 ?
            t(this._events) : [] } }, 4029: (e, t, r) => { var n = r(5320),
        i = Object.prototype.toString,
        o = Object.prototype.hasOwnProperty,
        s = function(e, t, r) { for (var n = 0, i = e.length; n < i; n++) o.call(e, n) && (null == r ? t(e[n], n, e) :
            t.call(r, e[n], n, e)) },
        a = function(e, t, r) { for (var n = 0, i = e.length; n < i; n++) null == r ? t(e.charAt(n), n, e) : t.call(r,
            e.charAt(n), n, e) },
        u = function(e, t, r) { for (var n in e) o.call(e, n) && (null == r ? t(e[n], n, e) : t.call(r, e[n], n,
          e)) };
      e.exports = function(e, t, r) { if (!n(t)) throw new TypeError("iterator must be a function"); var o;
        arguments.length >= 3 && (o = r), "[object Array]" === i.call(e) ? s(e, t, o) : "string" == typeof e ? a(e,
          t, o) : u(e, t, o) } }, 7648: e => { var t = "Function.prototype.bind called on incompatible ",
        r = Array.prototype.slice,
        n = Object.prototype.toString,
        i = "[object Function]";
      e.exports = function(e) { var o = this; if ("function" != typeof o || n.call(o) !== i) throw new TypeError(t +
          o); for (var s, a = r.call(arguments, 1), u = function() { if (this instanceof s) { var t = o.apply(this,
                a.concat(r.call(arguments))); return Object(t) === t ? t : this } return o.apply(e, a.concat(r
              .call(arguments))) }, f = Math.max(0, o.length - a.length), l = [], c = 0; c < f; c++) l.push("$" +
        c); if (s = Function("binder", "return function (" + l.join(",") +
            "){ return binder.apply(this,arguments); }")(u), o.prototype) { var p = function() {};
          p.prototype = o.prototype, s.prototype = new p, p.prototype = null } return s } }, 8612: (e, t, r) => { var
        n = r(7648);
      e.exports = Function.prototype.bind || n }, 210: (e, t, r) => { var n, i = SyntaxError,
        o = Function,
        s = TypeError,
        a = function(e) { try { return o('"use strict"; return (' + e + ").constructor;")() } catch (e) {} },
        u = Object.getOwnPropertyDescriptor; if (u) try { u({}, "") } catch (e) { u = null }
      var f = function() { throw new s },
        l = u ? function() { try { return f } catch (e) { try { return u(arguments, "callee").get } catch (
            e) { return f } } }() : f,
        c = r(1405)(),
        p = Object.getPrototypeOf || function(e) { return e.__proto__ },
        h = {},
        d = "undefined" == typeof Uint8Array ? n : p(Uint8Array),
        y = { "%AggregateError%": "undefined" == typeof AggregateError ? n :
        AggregateError, "%Array%": Array, "%ArrayBuffer%": "undefined" == typeof ArrayBuffer ? n :
          ArrayBuffer, "%ArrayIteratorPrototype%": c ? p([][Symbol.iterator]()) :
          n, "%AsyncFromSyncIteratorPrototype%": n, "%AsyncFunction%": h, "%AsyncGenerator%": h, "%AsyncGeneratorFunction%": h, "%AsyncIteratorPrototype%": h, "%Atomics%": "undefined" ==
            typeof Atomics ? n : Atomics, "%BigInt%": "undefined" == typeof BigInt ? n :
        BigInt, "%Boolean%": Boolean, "%DataView%": "undefined" == typeof DataView ? n :
        DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": Error, "%eval%": eval, "%EvalError%": EvalError, "%Float32Array%": "undefined" ==
            typeof Float32Array ? n : Float32Array, "%Float64Array%": "undefined" == typeof Float64Array ? n :
            Float64Array, "%FinalizationRegistry%": "undefined" == typeof FinalizationRegistry ? n :
            FinalizationRegistry, "%Function%": o, "%GeneratorFunction%": h, "%Int8Array%": "undefined" ==
            typeof Int8Array ? n : Int8Array, "%Int16Array%": "undefined" == typeof Int16Array ? n :
          Int16Array, "%Int32Array%": "undefined" == typeof Int32Array ? n :
        Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": c ? p(p([][Symbol.iterator]())) :
            n, "%JSON%": "object" == typeof JSON ? JSON : n, "%Map%": "undefined" == typeof Map ? n :
          Map, "%MapIteratorPrototype%": "undefined" != typeof Map && c ? p((new Map)[Symbol.iterator]()) :
          n, "%Math%": Math, "%Number%": Number, "%Object%": Object, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": "undefined" ==
            typeof Promise ? n : Promise, "%Proxy%": "undefined" == typeof Proxy ? n :
          Proxy, "%RangeError%": RangeError, "%ReferenceError%": ReferenceError, "%Reflect%": "undefined" ==
            typeof Reflect ? n : Reflect, "%RegExp%": RegExp, "%Set%": "undefined" == typeof Set ? n :
          Set, "%SetIteratorPrototype%": "undefined" != typeof Set && c ? p((new Set)[Symbol.iterator]()) :
          n, "%SharedArrayBuffer%": "undefined" == typeof SharedArrayBuffer ? n :
          SharedArrayBuffer, "%String%": String, "%StringIteratorPrototype%": c ? p("" [Symbol.iterator]()) :
          n, "%Symbol%": c ? Symbol :
    n, "%SyntaxError%": i, "%ThrowTypeError%": l, "%TypedArray%": d, "%TypeError%": s, "%Uint8Array%": "undefined" ==
            typeof Uint8Array ? n : Uint8Array, "%Uint8ClampedArray%": "undefined" == typeof Uint8ClampedArray ? n :
            Uint8ClampedArray, "%Uint16Array%": "undefined" == typeof Uint16Array ? n :
          Uint16Array, "%Uint32Array%": "undefined" == typeof Uint32Array ? n :
          Uint32Array, "%URIError%": URIError, "%WeakMap%": "undefined" == typeof WeakMap ? n :
          WeakMap, "%WeakRef%": "undefined" == typeof WeakRef ? n : WeakRef, "%WeakSet%": "undefined" ==
            typeof WeakSet ? n : WeakSet },
        g = function e(t) { var r; if ("%AsyncFunction%" === t) r = a("async function () {}");
          else if ("%GeneratorFunction%" === t) r = a("function* () {}");
          else if ("%AsyncGeneratorFunction%" === t) r = a("async function* () {}");
          else if ("%AsyncGenerator%" === t) { var n = e("%AsyncGeneratorFunction%");
            n && (r = n.prototype) } else if ("%AsyncIteratorPrototype%" === t) { var i = e("%AsyncGenerator%");
            i && (r = p(i.prototype)) } return y[t] = r, r },
        b = { "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array",
          "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array",
            "prototype", "forEach"
          ], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype",
            "values"
          ], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": [
            "AsyncGeneratorFunction", "prototype"
          ], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype",
          "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView",
            "prototype"
          ], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error",
          "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": [
            "Float32Array", "prototype"
          ], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function",
            "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": [
            "GeneratorFunction", "prototype", "prototype"
          ], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array",
          "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON",
          "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map",
          "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object",
          "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object",
            "prototype", "valueOf"
          ], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype",
          "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise",
          "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError",
            "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": [
            "RegExp", "prototype"
          ], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer",
            "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol",
          "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": [
            "TypedArray", "prototype"
          ], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array",
          "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray",
          "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": [
            "Uint32Array", "prototype"
          ], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap",
          "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] },
        m = r(8612),
        w = r(7642),
        _ = m.call(Function.call, Array.prototype.concat),
        v = m.call(Function.apply, Array.prototype.splice),
        S = m.call(Function.call, String.prototype.replace),
        E = m.call(Function.call, String.prototype.slice),
        A = m.call(Function.call, RegExp.prototype.exec),
        I = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,
        O = /\\(\\)?/g,
        C = function(e) { var t = E(e, 0, 1),
            r = E(e, -1); if ("%" === t && "%" !== r) throw new i(
          "invalid intrinsic syntax, expected closing `%`"); if ("%" === r && "%" !== t) throw new i(
            "invalid intrinsic syntax, expected opening `%`"); var n = []; return S(e, I, (function(e, t, r, i) { n[n
              .length] = r ? S(i, O, "$1") : t || e })), n },
        R = function(e, t) { var r, n = e; if (w(b, n) && (n = "%" + (r = b[n])[0] + "%"), w(y, n)) { var o = y[
            n]; if (o === h && (o = g(n)), void 0 === o && !t) throw new s("intrinsic " + e +
              " exists, but is not available. Please file an issue!"); return { alias: r, name: n,
            value: o } } throw new i("intrinsic " + e + " does not exist!") };
      e.exports = function(e, t) { if ("string" != typeof e || 0 === e.length) throw new s(
          "intrinsic name must be a non-empty string"); if (arguments.length > 1 && "boolean" != typeof t)
        throw new s('"allowMissing" argument must be a boolean'); if (null === A(/^%?[^%]*%?$/g, e)) throw new i(
          "`%` may not be present anywhere but at the beginning and end of the intrinsic name"); var r = C(e),
          n = r.length > 0 ? r[0] : "",
          o = R("%" + n + "%", t),
          a = o.name,
          f = o.value,
          l = !1,
          c = o.alias;
        c && (n = c[0], v(r, _([0, 1], c))); for (var p = 1, h = !0; p < r.length; p += 1) { var d = r[p],
            g = E(d, 0, 1),
            b = E(d, -1); if (('"' === g || "'" === g || "`" === g || '"' === b || "'" === b || "`" === b) && g !==
            b) throw new i("property names with quotes must have matching quotes"); if ("constructor" !== d && h ||
            (l = !0), w(y, a = "%" + (n += "." + d) + "%")) f = y[a];
          else if (null != f) { if (!(d in f)) { if (!t) throw new s("base intrinsic for " + e +
                " exists, but the property is not available."); return } if (u && p + 1 >= r.length) { var m = u(f,
                d);
              f = (h = !!m) && "get" in m && !("originalValue" in m.get) ? m.get : f[d] } else h = w(f, d), f = f[
            d];
            h && !l && (y[a] = f) } } return f } }, 1405: (e, t, r) => { var n = "undefined" != typeof Symbol && Symbol,
        i = r(5419);
      e.exports = function() { return "function" == typeof n && "function" == typeof Symbol && "symbol" == typeof n(
          "foo") && "symbol" == typeof Symbol("bar") && i() } }, 5419: e => { e.exports = function() { if ("function" !=
          typeof Symbol || "function" != typeof Object.getOwnPropertySymbols) return !1; if ("symbol" ==
          typeof Symbol.iterator) return !0; var e = {},
          t = Symbol("test"),
          r = Object(t); if ("string" == typeof t) return !1; if ("[object Symbol]" !== Object.prototype.toString
          .call(t)) return !1; if ("[object Symbol]" !== Object.prototype.toString.call(r)) return !1; for (t in e[
            t] = 42, e) return !1; if ("function" == typeof Object.keys && 0 !== Object.keys(e).length) return !
        1; if ("function" == typeof Object.getOwnPropertyNames && 0 !== Object.getOwnPropertyNames(e).length)
        return !1; var n = Object.getOwnPropertySymbols(e); if (1 !== n.length || n[0] !== t) return !1; if (!Object
          .prototype.propertyIsEnumerable.call(e, t)) return !1; if ("function" == typeof Object
          .getOwnPropertyDescriptor) { var i = Object.getOwnPropertyDescriptor(e, t); if (42 !== i.value || !0 !== i
            .enumerable) return !1 } return !0 } }, 6410: (e, t, r) => { var n = r(5419);
      e.exports = function() { return n() && !!Symbol.toStringTag } }, 7642: (e, t, r) => { var n = r(8612);
      e.exports = n.call(Function.call, Object.prototype.hasOwnProperty) }, 645: (e, t) => { t.read = function(e, t, r,
        n, i) { var o, s, a = 8 * i - n - 1,
          u = (1 << a) - 1,
          f = u >> 1,
          l = -7,
          c = r ? i - 1 : 0,
          p = r ? -1 : 1,
          h = e[t + c]; for (c += p, o = h & (1 << -l) - 1, h >>= -l, l += a; l > 0; o = 256 * o + e[t + c], c += p,
          l -= 8); for (s = o & (1 << -l) - 1, o >>= -l, l += n; l > 0; s = 256 * s + e[t + c], c += p, l -= 8)
        ; if (0 === o) o = 1 - f;
        else { if (o === u) return s ? NaN : 1 / 0 * (h ? -1 : 1);
          s += Math.pow(2, n), o -= f } return (h ? -1 : 1) * s * Math.pow(2, o - n) }, t.write = function(e, t, r,
        n, i, o) { var s, a, u, f = 8 * o - i - 1,
          l = (1 << f) - 1,
          c = l >> 1,
          p = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
          h = n ? 0 : o - 1,
          d = n ? 1 : -1,
          y = t < 0 || 0 === t && 1 / t < 0 ? 1 : 0; for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (a = isNaN(t) ?
            1 : 0, s = l) : (s = Math.floor(Math.log(t) / Math.LN2), t * (u = Math.pow(2, -s)) < 1 && (s--, u *= 2),
            (t += s + c >= 1 ? p / u : p * Math.pow(2, 1 - c)) * u >= 2 && (s++, u /= 2), s + c >= l ? (a = 0, s =
              l) : s + c >= 1 ? (a = (t * u - 1) * Math.pow(2, i), s += c) : (a = t * Math.pow(2, c - 1) * Math.pow(
              2, i), s = 0)); i >= 8; e[r + h] = 255 & a, h += d, a /= 256, i -= 8); for (s = s << i | a, f +=
          i; f > 0; e[r + h] = 255 & s, h += d, s /= 256, f -= 8);
        e[r + h - d] |= 128 * y } }, 4378: (e, t, r) => { try { var n = r(9539); if ("function" != typeof n.inherits)
          throw "";
        e.exports = n.inherits } catch (t) { e.exports = r(5717) } }, 5717: e => { "function" == typeof Object.create ?
        e.exports = function(e, t) { t && (e.super_ = t, e.prototype = Object.create(t
          .prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } })) } : e.exports =
        function(e, t) { if (t) { e.super_ = t; var r = function() {};
            r.prototype = t.prototype, e.prototype = new r, e.prototype.constructor = e } } }, 2584: (e, t, r) => { var
        n = r(6410)(),
        i = r(1924)("Object.prototype.toString"),
        o = function(e) { return !(n && e && "object" == typeof e && Symbol.toStringTag in e) &&
            "[object Arguments]" === i(e) },
        s = function(e) { return !!o(e) || null !== e && "object" == typeof e && "number" == typeof e.length && e
            .length >= 0 && "[object Array]" !== i(e) && "[object Function]" === i(e.callee) },
        a = function() { return o(arguments) }();
      o.isLegacyArguments = s, e.exports = a ? o : s }, 5320: e => { var t, r, n = Function.prototype.toString,
        i = "object" == typeof Reflect && null !== Reflect && Reflect.apply; if ("function" == typeof i &&
        "function" == typeof Object.defineProperty) try { t = Object.defineProperty({},
    "length", { get: function() { throw r } }), r = {}, i((function() { throw 42 }), null, t) } catch (e) { e !==
          r && (i = null) } else i = null; var o = /^\s*class\b/,
        s = function(e) { try { var t = n.call(e); return o.test(t) } catch (e) { return !1 } },
        a = Object.prototype.toString,
        u = "function" == typeof Symbol && !!Symbol.toStringTag,
        f = "object" == typeof document && void 0 === document.all && void 0 !== document.all ? document.all : {};
      e.exports = i ? function(e) { if (e === f) return !0; if (!e) return !1; if ("function" != typeof e &&
          "object" != typeof e) return !1; if ("function" == typeof e && !e.prototype) return !0; try { i(e, null,
            t) } catch (e) { if (e !== r) return !1 } return !s(e) } : function(e) { if (e === f) return !0; if (!e)
          return !1; if ("function" != typeof e && "object" != typeof e) return !1; if ("function" == typeof e && !e
          .prototype) return !0; if (u) return function(e) { try { return !s(e) && (n.call(e), !0) } catch (
          e) { return !1 } }(e); if (s(e)) return !1; var t = a.call(e); return "[object Function]" === t ||
          "[object GeneratorFunction]" === t } }, 8662: (e, t, r) => { var n, i = Object.prototype.toString,
        o = Function.prototype.toString,
        s = /^\s*(?:function)?\*/,
        a = r(6410)(),
        u = Object.getPrototypeOf;
      e.exports = function(e) { if ("function" != typeof e) return !1; if (s.test(o.call(e))) return !0; if (!a)
          return "[object GeneratorFunction]" === i.call(e); if (!u) return !1; if (void 0 === n) { var t =
            function() { if (!a) return !1; try { return Function("return function*() {}")() } catch (e) {} }();
          n = !!t && u(t) } return u(e) === n } }, 5692: (e, t, r) => { var n = r(4029),
        i = r(3083),
        o = r(1924),
        s = o("Object.prototype.toString"),
        a = r(6410)(),
        u = "undefined" == typeof globalThis ? r.g : globalThis,
        f = i(),
        l = o("Array.prototype.indexOf", !0) || function(e, t) { for (var r = 0; r < e.length; r += 1)
            if (e[r] === t) return r; return -1 },
        c = o("String.prototype.slice"),
        p = {},
        h = r(882),
        d = Object.getPrototypeOf;
      a && h && d && n(f, (function(e) { var t = new u[e]; if (Symbol.toStringTag in t) { var r = d(t),
            n = h(r, Symbol.toStringTag); if (!n) { var i = d(r);
            n = h(i, Symbol.toStringTag) } p[e] = n.get } })), e.exports = function(e) { if (!e || "object" !=
          typeof e) return !1; if (!a || !(Symbol.toStringTag in e)) { var t = c(s(e), 8, -1); return l(f, t) > -
          1 } return !!h && function(e) { var t = !1; return n(p, (function(r, n) { if (!t) try { t = r.call(e) ===
                n } catch (e) {} })), t }(e) } }, 9990: (e, t, r) => { const n = e.exports,
        { Buffer: i } = r(8764);
      n.types = { 0: "reserved", 1: "connect", 2: "connack", 3: "publish", 4: "puback", 5: "pubrec", 6: "pubrel",
        7: "pubcomp", 8: "subscribe", 9: "suback", 10: "unsubscribe", 11: "unsuback", 12: "pingreq", 13: "pingresp",
        14: "disconnect", 15: "auth" }, n.requiredHeaderFlags = { 1: 0, 2: 0, 4: 0, 5: 0, 6: 2, 7: 0, 8: 2, 9: 0,
        10: 2, 11: 0, 12: 0, 13: 0, 14: 0, 15: 0 }, n.requiredHeaderFlagsErrors = {}; for (const e in n
          .requiredHeaderFlags) { const t = n.requiredHeaderFlags[e];
        n.requiredHeaderFlagsErrors[e] = "Invalid header flag bits, must be 0x" + t.toString(16) + " for " + n.types[
          e] + " packet" } n.codes = {}; for (const e in n.types) { const t = n.types[e];
        n.codes[t] = e } n.CMD_SHIFT = 4, n.CMD_MASK = 240, n.DUP_MASK = 8, n.QOS_MASK = 3, n.QOS_SHIFT = 1, n
        .RETAIN_MASK = 1, n.VARBYTEINT_MASK = 127, n.VARBYTEINT_FIN_MASK = 128, n.VARBYTEINT_MAX = 268435455, n
        .SESSIONPRESENT_MASK = 1, n.SESSIONPRESENT_HEADER = i.from([n.SESSIONPRESENT_MASK]), n.CONNACK_HEADER = i
        .from([n.codes.connack << n.CMD_SHIFT]), n.USERNAME_MASK = 128, n.PASSWORD_MASK = 64, n.WILL_RETAIN_MASK = 32,
        n.WILL_QOS_MASK = 24, n.WILL_QOS_SHIFT = 3, n.WILL_FLAG_MASK = 4, n.CLEAN_SESSION_MASK = 2, n.CONNECT_HEADER =
        i.from([n.codes.connect << n.CMD_SHIFT]), n.properties = { sessionExpiryInterval: 17, willDelayInterval: 24,
          receiveMaximum: 33, maximumPacketSize: 39, topicAliasMaximum: 34, requestResponseInformation: 25,
          requestProblemInformation: 23, userProperties: 38, authenticationMethod: 21, authenticationData: 22,
          payloadFormatIndicator: 1, messageExpiryInterval: 2, contentType: 3, responseTopic: 8, correlationData: 9,
          maximumQoS: 36, retainAvailable: 37, assignedClientIdentifier: 18, reasonString: 31,
          wildcardSubscriptionAvailable: 40, subscriptionIdentifiersAvailable: 41, sharedSubscriptionAvailable: 42,
          serverKeepAlive: 19, responseInformation: 26, serverReference: 28, topicAlias: 35,
          subscriptionIdentifier: 11 }, n.propertiesCodes = {}; for (const e in n.properties) { const t = n
          .properties[e];
        n.propertiesCodes[t] = e }

      function o(e) { return [0, 1, 2].map((t => [0, 1].map((r => [0, 1].map((o => { const s = i.alloc(1); return s
            .writeUInt8(n.codes[e] << n.CMD_SHIFT | (r ? n.DUP_MASK : 0) | t << n.QOS_SHIFT | o, 0, !0),
            s })))))) } n.propertiesTypes = { sessionExpiryInterval: "int32", willDelayInterval: "int32",
          receiveMaximum: "int16", maximumPacketSize: "int32", topicAliasMaximum: "int16",
          requestResponseInformation: "byte", requestProblemInformation: "byte", userProperties: "pair",
          authenticationMethod: "string", authenticationData: "binary", payloadFormatIndicator: "byte",
          messageExpiryInterval: "int32", contentType: "string", responseTopic: "string", correlationData: "binary",
          maximumQoS: "int8", retainAvailable: "byte", assignedClientIdentifier: "string", reasonString: "string",
          wildcardSubscriptionAvailable: "byte", subscriptionIdentifiersAvailable: "byte",
          sharedSubscriptionAvailable: "byte", serverKeepAlive: "int16", responseInformation: "string",
          serverReference: "string", topicAlias: "int16", subscriptionIdentifier: "var" }, n.PUBLISH_HEADER = o(
          "publish"), n.SUBSCRIBE_HEADER = o("subscribe"), n.SUBSCRIBE_OPTIONS_QOS_MASK = 3, n
        .SUBSCRIBE_OPTIONS_NL_MASK = 1, n.SUBSCRIBE_OPTIONS_NL_SHIFT = 2, n.SUBSCRIBE_OPTIONS_RAP_MASK = 1, n
        .SUBSCRIBE_OPTIONS_RAP_SHIFT = 3, n.SUBSCRIBE_OPTIONS_RH_MASK = 3, n.SUBSCRIBE_OPTIONS_RH_SHIFT = 4, n
        .SUBSCRIBE_OPTIONS_RH = [0, 16, 32], n.SUBSCRIBE_OPTIONS_NL = 4, n.SUBSCRIBE_OPTIONS_RAP = 8, n
        .SUBSCRIBE_OPTIONS_QOS = [0, 1, 2], n.UNSUBSCRIBE_HEADER = o("unsubscribe"), n.ACKS = { unsuback: o(
            "unsuback"), puback: o("puback"), pubcomp: o("pubcomp"), pubrel: o("pubrel"), pubrec: o("pubrec") }, n
        .SUBACK_HEADER = i.from([n.codes.suback << n.CMD_SHIFT]), n.VERSION3 = i.from([3]), n.VERSION4 = i.from([4]),
        n.VERSION5 = i.from([5]), n.VERSION131 = i.from([131]), n.VERSION132 = i.from([132]), n.QOS = [0, 1, 2].map((
          e => i.from([e]))), n.EMPTY = { pingreq: i.from([n.codes.pingreq << 4, 0]), pingresp: i.from([n.codes
            .pingresp << 4, 0
          ]), disconnect: i.from([n.codes.disconnect << 4, 0]) }, n.MQTT5_PUBACK_PUBREC_CODES = { 0: "Success",
          16: "No matching subscribers", 128: "Unspecified error", 131: "Implementation specific error",
          135: "Not authorized", 144: "Topic Name invalid", 145: "Packet identifier in use", 151: "Quota exceeded",
          153: "Payload format invalid" }, n.MQTT5_PUBREL_PUBCOMP_CODES = { 0: "Success",
          146: "Packet Identifier not found" }, n.MQTT5_SUBACK_CODES = { 0: "Granted QoS 0", 1: "Granted QoS 1",
          2: "Granted QoS 2", 128: "Unspecified error", 131: "Implementation specific error", 135: "Not authorized",
          143: "Topic Filter invalid", 145: "Packet Identifier in use", 151: "Quota exceeded",
          158: "Shared Subscriptions not supported", 161: "Subscription Identifiers not supported",
          162: "Wildcard Subscriptions not supported" }, n.MQTT5_UNSUBACK_CODES = { 0: "Success",
          17: "No subscription existed", 128: "Unspecified error", 131: "Implementation specific error",
          135: "Not authorized", 143: "Topic Filter invalid", 145: "Packet Identifier in use" }, n
        .MQTT5_DISCONNECT_CODES = { 0: "Normal disconnection", 4: "Disconnect with Will Message",
          128: "Unspecified error", 129: "Malformed Packet", 130: "Protocol Error",
          131: "Implementation specific error", 135: "Not authorized", 137: "Server busy",
          139: "Server shutting down", 141: "Keep Alive timeout", 142: "Session taken over",
          143: "Topic Filter invalid", 144: "Topic Name invalid", 147: "Receive Maximum exceeded",
          148: "Topic Alias invalid", 149: "Packet too large", 150: "Message rate too high", 151: "Quota exceeded",
          152: "Administrative action", 153: "Payload format invalid", 154: "Retain not supported",
          155: "QoS not supported", 156: "Use another server", 157: "Server moved",
          158: "Shared Subscriptions not supported", 159: "Connection rate exceeded", 160: "Maximum connect time",
          161: "Subscription Identifiers not supported", 162: "Wildcard Subscriptions not supported" }, n
        .MQTT5_AUTH_CODES = { 0: "Success", 24: "Continue authentication", 25: "Re-authenticate" } }, 7721: (e, t,
    r) => { const n = r(9371),
        i = r(7187),
        { Buffer: o } = r(8764);
      class s extends i { constructor() { super(), this._array = new Array(20), this._i = 0 } write(e) { return this
            ._array[this._i++] = e, !0 } concat() { let e = 0; const t = new Array(this._array.length),
            r = this._array; let n, i = 0; for (n = 0; n < r.length && void 0 !== r[n]; n++) "string" != typeof r[
            n] ? t[n] = r[n].length : t[n] = o.byteLength(r[n]), e += t[n]; const s = o.allocUnsafe(e); for (n =
            0; n < r.length && void 0 !== r[n]; n++) "string" != typeof r[n] ? (r[n].copy(s, i), i += t[n]) : (s
            .write(r[n], i), i += t[n]); return s } destroy(e) { e && this.emit("error", e) } } e.exports = function(
        e, t) { const r = new s; return n(e, r, t), r.concat() } }, 1772: (e, t, r) => { t.parser = r(5322).parser, t
        .generate = r(7721), r(9371) }, 3903: (e, t, r) => { const { Buffer: n } = r(8764), i = {}, o = n.isBuffer(n
        .from([1, 2]).subarray(0, 1));

      function s(e) { const t = n.allocUnsafe(2); return t.writeUInt8(e >> 8, 0), t.writeUInt8(255 & e, 1), t } e
        .exports = { cache: i, generateCache: function() { for (let e = 0; e < 65536; e++) i[e] = s(e) },
          generateNumber: s, genBufVariableByteInt: function(e) { let t = 0,
              r = 0; const i = n.allocUnsafe(4);
            do { t = e % 128 | 0, (e = e / 128 | 0) > 0 && (t |= 128), i.writeUInt8(t, r++) } while (e > 0 && r <
              4); return e > 0 && (r = 0), o ? i.subarray(0, r) : i.slice(0, r) }, generate4ByteBuffer: function(
          e) { const t = n.allocUnsafe(4); return t.writeUInt32BE(e, 0), t } } }, 9695: e => { e.exports =
      class { constructor() { this.cmd = null, this.retain = !1, this.qos = 0, this.dup = !1, this.length = -1, this
            .topic = null, this.payload = null } } }, 5322: (e, t, r) => { const n = r(22),
        i = r(7187),
        o = r(9695),
        s = r(9990),
        a = r(5158)("mqtt-packet:parser");
      class u extends i { constructor() { super(), this.parser = this.constructor.parser } static parser(
          e) { return this instanceof u ? (this.settings = e || {}, this._states = ["_parseHeader", "_parseLength",
                "_parsePayload", "_newPacket"
              ], this._resetState(), this) : (new u).parser(e) } _resetState() { a(
                "_resetState: resetting packet, error, _list, and _stateCounter"), this.packet = new o, this.error =
              null, this._list = n(), this._stateCounter = 0 } parse(e) { for (this.error && this._resetState(), this
              ._list.append(e), a("parse: current state: %s", this._states[this._stateCounter]);
              (-1 !== this.packet.length || this._list.length > 0) && this[this._states[this._stateCounter]]() && !
              this.error;) this._stateCounter++, a("parse: state complete. _stateCounter is now: %d", this
              ._stateCounter), a("parse: packet.length: %d, buffer list length: %d", this.packet.length, this._list
              .length), this._stateCounter >= this._states.length && (this._stateCounter = 0); return a(
                "parse: exited while loop. packet: %d, buffer list length: %d", this.packet.length, this._list.length
                ), this._list.length } _parseHeader() { const e = this._list.readUInt8(0),
              t = e >> s.CMD_SHIFT;
            this.packet.cmd = s.types[t]; const r = 15 & e,
              n = s.requiredHeaderFlags[t]; return null != n && r !== n ? this._emitError(new Error(s
              .requiredHeaderFlagsErrors[t])) : (this.packet.retain = 0 != (e & s.RETAIN_MASK), this.packet.qos =
              e >> s.QOS_SHIFT & s.QOS_MASK, this.packet.qos > 2 ? this._emitError(new Error(
                "Packet must not have both QoS bits set to 1")) : (this.packet.dup = 0 != (e & s.DUP_MASK), a(
                "_parseHeader: packet: %o", this.packet), this._list.consume(1), !0)) } _parseLength() { const e =
              this._parseVarByteNum(!0); return e && (this.packet.length = e.value, this._list.consume(e.bytes)), a(
              "_parseLength %d", e.value), !!e } _parsePayload() { a("_parsePayload: payload %O", this._list); let
              e = !1; if (0 === this.packet.length || this._list.length >= this.packet.length) { switch (this._pos =
                0, this.packet.cmd) {
                case "connect":
                  this._parseConnect(); break;
                case "connack":
                  this._parseConnack(); break;
                case "publish":
                  this._parsePublish(); break;
                case "puback":
                case "pubrec":
                case "pubrel":
                case "pubcomp":
                  this._parseConfirmation(); break;
                case "subscribe":
                  this._parseSubscribe(); break;
                case "suback":
                  this._parseSuback(); break;
                case "unsubscribe":
                  this._parseUnsubscribe(); break;
                case "unsuback":
                  this._parseUnsuback(); break;
                case "pingreq":
                case "pingresp":
                  break;
                case "disconnect":
                  this._parseDisconnect(); break;
                case "auth":
                  this._parseAuth(); break;
                default:
                  this._emitError(new Error("Not supported")) } e = !0 } return a("_parsePayload complete result: %s",
              e), e } _parseConnect() { let e, t, r, n;
            a("_parseConnect"); const i = {},
              o = this.packet,
              u = this._parseString(); if (null === u) return this._emitError(new Error(
            "Cannot parse protocolId")); if ("MQTT" !== u && "MQIsdp" !== u) return this._emitError(new Error(
              "Invalid protocolId")); if (o.protocolId = u, this._pos >= this._list.length) return this._emitError(
              new Error("Packet too short")); if (o.protocolVersion = this._list.readUInt8(this._pos), o
              .protocolVersion >= 128 && (o.bridgeMode = !0, o.protocolVersion = o.protocolVersion - 128), 3 !== o
              .protocolVersion && 4 !== o.protocolVersion && 5 !== o.protocolVersion) return this._emitError(
              new Error("Invalid protocol version")); if (this._pos++, this._pos >= this._list.length) return this
              ._emitError(new Error("Packet too short")); if (1 & this._list.readUInt8(this._pos)) return this
              ._emitError(new Error("Connect flag bit 0 must be 0, but got 1"));
            i.username = this._list.readUInt8(this._pos) & s.USERNAME_MASK, i.password = this._list.readUInt8(this
              ._pos) & s.PASSWORD_MASK, i.will = this._list.readUInt8(this._pos) & s.WILL_FLAG_MASK; const f = !!(this
                ._list.readUInt8(this._pos) & s.WILL_RETAIN_MASK),
              l = (this._list.readUInt8(this._pos) & s.WILL_QOS_MASK) >> s.WILL_QOS_SHIFT; if (i.will) o.will = {}, o
              .will.retain = f, o.will.qos = l;
            else { if (f) return this._emitError(new Error(
                "Will Retain Flag must be set to zero when Will Flag is set to 0")); if (l) return this._emitError(
                new Error("Will QoS must be set to zero when Will Flag is set to 0")) } if (o.clean = 0 != (this._list
                .readUInt8(this._pos) & s.CLEAN_SESSION_MASK), this._pos++, o.keepalive = this._parseNum(), -1 === o
              .keepalive) return this._emitError(new Error("Packet too short")); if (5 === o.protocolVersion) { const
                e = this._parseProperties();
              Object.getOwnPropertyNames(e).length && (o.properties = e) } const c = this._parseString(); if (null ===
              c) return this._emitError(new Error("Packet too short")); if (o.clientId = c, a(
                "_parseConnect: packet.clientId: %s", o.clientId), i.will) { if (5 === o.protocolVersion) { const e =
                  this._parseProperties();
                Object.getOwnPropertyNames(e).length && (o.will.properties = e) } if (e = this._parseString(),
                null === e) return this._emitError(new Error("Cannot parse will topic")); if (o.will.topic = e, a(
                  "_parseConnect: packet.will.topic: %s", o.will.topic), t = this._parseBuffer(), null === t)
              return this._emitError(new Error("Cannot parse will payload"));
              o.will.payload = t, a("_parseConnect: packet.will.paylaod: %s", o.will.payload) } if (i.username) { if (
                n = this._parseString(), null === n) return this._emitError(new Error("Cannot parse username"));
              o.username = n, a("_parseConnect: packet.username: %s", o.username) } if (i.password) { if (r = this
                ._parseBuffer(), null === r) return this._emitError(new Error("Cannot parse password"));
              o.password = r } return this.settings = o, a("_parseConnect: complete"), o } _parseConnack() { a(
              "_parseConnack"); const e = this.packet; if (this._list.length < 1) return null; const t = this._list
              .readUInt8(this._pos++); if (t > 1) return this._emitError(new Error(
              "Invalid connack flags, bits 7-1 must be set to 0")); if (e.sessionPresent = !!(t & s
                .SESSIONPRESENT_MASK), 5 === this.settings.protocolVersion) this._list.length >= 2 ? e.reasonCode =
              this._list.readUInt8(this._pos++) : e.reasonCode = 0;
            else { if (this._list.length < 2) return null;
              e.returnCode = this._list.readUInt8(this._pos++) } if (-1 === e.returnCode || -1 === e.reasonCode)
              return this._emitError(new Error("Cannot parse return code")); if (5 === this.settings
              .protocolVersion) { const t = this._parseProperties();
              Object.getOwnPropertyNames(t).length && (e.properties = t) } a(
            "_parseConnack: complete") } _parsePublish() { a("_parsePublish"); const e = this.packet; if (e.topic =
              this._parseString(), null === e.topic) return this._emitError(new Error("Cannot parse topic")); if (!(e
                .qos > 0) || this._parseMessageId()) { if (5 === this.settings.protocolVersion) { const t = this
                  ._parseProperties();
                Object.getOwnPropertyNames(t).length && (e.properties = t) } e.payload = this._list.slice(this._pos, e
                .length), a("_parsePublish: payload from buffer list: %o", e.payload) } } _parseSubscribe() { a(
              "_parseSubscribe"); const e = this.packet; let t, r, n, i, o, u, f; if (e.subscriptions = [], this
              ._parseMessageId()) { if (5 === this.settings.protocolVersion) { const t = this._parseProperties();
                Object.getOwnPropertyNames(t).length && (e.properties = t) } if (e.length <= 0) return this
                ._emitError(new Error("Malformed subscribe, no payload specified")); for (; this._pos < e
                .length;) { if (t = this._parseString(), null === t) return this._emitError(new Error(
                  "Cannot parse topic")); if (this._pos >= e.length) return this._emitError(new Error(
                  "Malformed Subscribe Payload")); if (r = this._parseByte(), 5 === this.settings
                  .protocolVersion) { if (192 & r) return this._emitError(new Error(
                    "Invalid subscribe topic flag bits, bits 7-6 must be 0")) } else if (252 & r) return this
                  ._emitError(new Error("Invalid subscribe topic flag bits, bits 7-2 must be 0")); if (n = r & s
                  .SUBSCRIBE_OPTIONS_QOS_MASK, n > 2) return this._emitError(new Error(
                  "Invalid subscribe QoS, must be <= 2")); if (u = 0 != (r >> s.SUBSCRIBE_OPTIONS_NL_SHIFT & s
                    .SUBSCRIBE_OPTIONS_NL_MASK), o = 0 != (r >> s.SUBSCRIBE_OPTIONS_RAP_SHIFT & s
                    .SUBSCRIBE_OPTIONS_RAP_MASK), i = r >> s.SUBSCRIBE_OPTIONS_RH_SHIFT & s.SUBSCRIBE_OPTIONS_RH_MASK,
                  i > 2) return this._emitError(new Error("Invalid retain handling, must be <= 2"));
                f = { topic: t, qos: n }, 5 === this.settings.protocolVersion ? (f.nl = u, f.rap = o, f.rh = i) : this
                  .settings.bridgeMode && (f.rh = 0, f.rap = !0, f.nl = !0), a(
                    "_parseSubscribe: push subscription `%s` to subscription", f), e.subscriptions.push(
                  f) } } } _parseSuback() { a("_parseSuback"); const e = this.packet; if (this.packet.granted = [],
              this._parseMessageId()) { if (5 === this.settings.protocolVersion) { const t = this._parseProperties();
                Object.getOwnPropertyNames(t).length && (e.properties = t) } if (e.length <= 0) return this
                ._emitError(new Error("Malformed suback, no payload specified")); for (; this._pos < this.packet
                .length;) { const e = this._list.readUInt8(this._pos++); if (5 === this.settings
                  .protocolVersion) { if (!s.MQTT5_SUBACK_CODES[e]) return this._emitError(new Error(
                    "Invalid suback code")) } else if (e > 2) return this._emitError(new Error(
                  "Invalid suback QoS, must be <= 2"));
                this.packet.granted.push(e) } } } _parseUnsubscribe() { a("_parseUnsubscribe"); const e = this
            .packet; if (e.unsubscriptions = [], this._parseMessageId()) { if (5 === this.settings
                .protocolVersion) { const t = this._parseProperties();
                Object.getOwnPropertyNames(t).length && (e.properties = t) } if (e.length <= 0) return this
                ._emitError(new Error("Malformed unsubscribe, no payload specified")); for (; this._pos < e
                .length;) { const t = this._parseString(); if (null === t) return this._emitError(new Error(
                  "Cannot parse topic"));
                a("_parseUnsubscribe: push topic `%s` to unsubscriptions", t), e.unsubscriptions.push(
                t) } } } _parseUnsuback() { a("_parseUnsuback"); const e = this.packet; if (!this._parseMessageId())
              return this._emitError(new Error("Cannot parse messageId")); if ((3 === this.settings.protocolVersion ||
                4 === this.settings.protocolVersion) && 2 !== e.length) return this._emitError(new Error(
              "Malformed unsuback, payload length must be 2")); if (e.length <= 0) return this._emitError(new Error(
              "Malformed unsuback, no payload specified")); if (5 === this.settings.protocolVersion) { const t = this
                ._parseProperties(); for (Object.getOwnPropertyNames(t).length && (e.properties = t), e
              .granted = []; this._pos < this.packet.length;) { const e = this._list.readUInt8(this._pos++); if (!s
                  .MQTT5_UNSUBACK_CODES[e]) return this._emitError(new Error("Invalid unsuback code"));
                this.packet.granted.push(e) } } } _parseConfirmation() { a("_parseConfirmation: packet.cmd: `%s`",
              this.packet.cmd); const e = this.packet; if (this._parseMessageId(), 5 === this.settings
              .protocolVersion) { if (e.length > 2) { switch (e.reasonCode = this._parseByte(), this.packet.cmd) {
                  case "puback":
                  case "pubrec":
                    if (!s.MQTT5_PUBACK_PUBREC_CODES[e.reasonCode]) return this._emitError(new Error("Invalid " + this
                      .packet.cmd + " reason code")); break;
                  case "pubrel":
                  case "pubcomp":
                    if (!s.MQTT5_PUBREL_PUBCOMP_CODES[e.reasonCode]) return this._emitError(new Error("Invalid " +
                      this.packet.cmd + " reason code")) } a("_parseConfirmation: packet.reasonCode `%d`", e
                  .reasonCode) } else e.reasonCode = 0; if (e.length > 3) { const t = this._parseProperties();
                Object.getOwnPropertyNames(t).length && (e.properties = t) } } return !0 } _parseDisconnect() { const
              e = this.packet; if (a("_parseDisconnect"), 5 === this.settings.protocolVersion) { this._list.length >
                0 ? (e.reasonCode = this._parseByte(), s.MQTT5_DISCONNECT_CODES[e.reasonCode] || this._emitError(
                  new Error("Invalid disconnect reason code"))) : e.reasonCode = 0; const t = this._parseProperties();
              Object.getOwnPropertyNames(t).length && (e.properties = t) } return a("_parseDisconnect result: true"),
              !0 } _parseAuth() { a("_parseAuth"); const e = this.packet; if (5 !== this.settings.protocolVersion)
              return this._emitError(new Error("Not supported auth packet for this version MQTT")); if (e.reasonCode =
              this._parseByte(), !s.MQTT5_AUTH_CODES[e.reasonCode]) return this._emitError(new Error(
              "Invalid auth reason code")); const t = this._parseProperties(); return Object.getOwnPropertyNames(t)
              .length && (e.properties = t), a("_parseAuth: result: true"), !0 } _parseMessageId() { const e = this
              .packet; return e.messageId = this._parseNum(), null === e.messageId ? (this._emitError(new Error(
              "Cannot parse messageId")), !1) : (a("_parseMessageId: packet.messageId %d", e.messageId), !
            0) } _parseString(e) { const t = this._parseNum(),
              r = t + this._pos; if (-1 === t || r > this._list.length || r > this.packet.length) return null; const
              n = this._list.toString("utf8", this._pos, r); return this._pos += t, a("_parseString: result: %s", n),
              n } _parseStringPair() { return a("_parseStringPair"), { name: this._parseString(), value: this
                ._parseString() } } _parseBuffer() { const e = this._parseNum(),
              t = e + this._pos; if (-1 === e || t > this._list.length || t > this.packet.length) return null; const
              r = this._list.slice(this._pos, t); return this._pos += e, a("_parseBuffer: result: %o", r),
            r } _parseNum() { if (this._list.length - this._pos < 2) return -1; const e = this._list.readUInt16BE(this
              ._pos); return this._pos += 2, a("_parseNum: result: %s", e), e } _parse4ByteNum() { if (this._list
              .length - this._pos < 4) return -1; const e = this._list.readUInt32BE(this._pos); return this._pos += 4,
              a("_parse4ByteNum: result: %s", e), e } _parseVarByteNum(e) { a("_parseVarByteNum"); let t, r = 0,
              n = 1,
              i = 0,
              o = !1; const u = this._pos ? this._pos : 0; for (; r < 4 && u + r < this._list.length;) { if (t = this
                ._list.readUInt8(u + r++), i += n * (t & s.VARBYTEINT_MASK), n *= 128, 0 == (t & s
                  .VARBYTEINT_FIN_MASK)) { o = !0; break } if (this._list.length <= r) break } return !o && 4 === r &&
              this._list.length >= r && this._emitError(new Error("Invalid variable byte integer")), u && (this
                ._pos += r), o = !!o && (e ? { bytes: r, value: i } : i), a("_parseVarByteNum: result: %o", o),
              o } _parseByte() { let e; return this._pos < this._list.length && (e = this._list.readUInt8(this._pos),
              this._pos++), a("_parseByte: result: %o", e), e } _parseByType(e) { switch (a("_parseByType: type: %s",
              e), e) {
              case "byte":
                return 0 !== this._parseByte();
              case "int8":
                return this._parseByte();
              case "int16":
                return this._parseNum();
              case "int32":
                return this._parse4ByteNum();
              case "var":
                return this._parseVarByteNum();
              case "string":
                return this._parseString();
              case "pair":
                return this._parseStringPair();
              case "binary":
                return this._parseBuffer() } } _parseProperties() { a("_parseProperties"); const e = this
              ._parseVarByteNum(),
              t = this._pos + e,
              r = {}; for (; this._pos < t;) { const e = this._parseByte(); if (!e) return this._emitError(new Error(
                "Cannot parse property code type")), !1; const t = s.propertiesCodes[e]; if (!t) return this
                ._emitError(new Error("Unknown property")), !1; if ("userProperties" !== t) r[t] ? (Array.isArray(r[
                  t]) || (r[t] = [r[t]]), r[t].push(this._parseByType(s.propertiesTypes[t]))) : r[t] = this
                ._parseByType(s.propertiesTypes[t]);
              else { r[t] || (r[t] = Object.create(null)); const e = this._parseByType(s.propertiesTypes[t]); if (r[t]
                  [e.name])
                  if (Array.isArray(r[t][e.name])) r[t][e.name].push(e.value);
                  else { const n = r[t][e.name];
                    r[t][e.name] = [n], r[t][e.name].push(e.value) } else r[t][e.name] = e
              .value } } return r } _newPacket() { return a("_newPacket"), this.packet && (this._list.consume(this
              .packet.length), a(
              "_newPacket: parser emit packet: packet.cmd: %s, packet.payload: %s, packet.length: %d", this.packet
              .cmd, this.packet.payload, this.packet.length), this.emit("packet", this.packet)), a(
              "_newPacket: new packet"), this.packet = new o, this._pos = 0, !0 } _emitError(e) { a("_emitError"),
              this.error = e, this.emit("error", e) } } e.exports = u }, 9371: (e, t, r) => { const n = r(9990),
        { Buffer: i } = r(8764),
        o = i.allocUnsafe(0),
        s = i.from([0]),
        a = r(3903),
        u = r(8212).nextTick,
        f = r(5158)("mqtt-packet:writeToStream"),
        l = a.cache,
        c = a.generateNumber,
        p = a.generateCache,
        h = a.genBufVariableByteInt,
        d = a.generate4ByteBuffer; let y = E,
        g = !0;

      function b(e, t, r) { switch (f("generate called"), t.cork && (t.cork(), u(m, t)), g && (g = !1, p()), f(
          "generate: packet.cmd: %s", e.cmd), e.cmd) {
          case "connect":
            return function(e, t, r) { const o = e || {},
                s = o.protocolId || "MQTT"; let a = o.protocolVersion || 4; const u = o.will; let f = o.clean; const
                l = o.keepalive || 0,
                c = o.clientId || "",
                p = o.username,
                h = o.password,
                d = o.properties;
              void 0 === f && (f = !0); let g, b, m = 0; if (!s || "string" != typeof s && !i.isBuffer(s)) return t
                .destroy(new Error("Invalid protocolId")), !1; if (m += s.length + 2, 3 !== a && 4 !== a && 5 !== a)
                return t.destroy(new Error("Invalid protocol version")), !1; if (m += 1, ("string" == typeof c || i
                  .isBuffer(c)) && (c || a >= 4) && (c || f)) m += i.byteLength(c) + 2;
              else { if (a < 4) return t.destroy(new Error("clientId must be supplied before 3.1.1")), !1; if (1 *
                  f == 0) return t.destroy(new Error("clientId must be given if cleanSession set to 0")), !1 } if (
                "number" != typeof l || l < 0 || l > 65535 || l % 1 != 0) return t.destroy(new Error(
                "Invalid keepalive")), !1; if (m += 2, m += 1, 5 === a) { if (g = O(t, d), !g) return !1;
                m += g.length } if (u) { if ("object" != typeof u) return t.destroy(new Error("Invalid will")), !
                1; if (!u.topic || "string" != typeof u.topic) return t.destroy(new Error("Invalid will topic")), !
                1; if (m += i.byteLength(u.topic) + 2, m += 2, u.payload) { if (!(u.payload.length >= 0)) return t
                    .destroy(new Error("Invalid will payload")), !1; "string" == typeof u.payload ? m += i
                    .byteLength(u.payload) : m += u.payload.length } if (b = {}, 5 === a) { if (b = O(t, u
                      .properties), !b) return !1;
                  m += b.length } } let w = !1; if (null != p) { if (!T(p)) return t.destroy(new Error(
                  "Invalid username")), !1;
                w = !0, m += i.byteLength(p) + 2 } if (null != h) { if (!w) return t.destroy(new Error(
                  "Username is required to use password")), !1; if (!T(h)) return t.destroy(new Error(
                  "Invalid password")), !1;
                m += B(h) + 2 } t.write(n.CONNECT_HEADER), _(t, m), I(t, s), o.bridgeMode && (a += 128), t.write(
                131 === a ? n.VERSION131 : 132 === a ? n.VERSION132 : 4 === a ? n.VERSION4 : 5 === a ? n
                .VERSION5 : n.VERSION3); let S = 0; return S |= null != p ? n.USERNAME_MASK : 0, S |= null != h ? n
                .PASSWORD_MASK : 0, S |= u && u.retain ? n.WILL_RETAIN_MASK : 0, S |= u && u.qos ? u.qos << n
                .WILL_QOS_SHIFT : 0, S |= u ? n.WILL_FLAG_MASK : 0, S |= f ? n.CLEAN_SESSION_MASK : 0, t.write(i
                  .from([S])), y(t, l), 5 === a && g.write(), I(t, c), u && (5 === a && b.write(), v(t, u.topic), I(
                  t, u.payload)), null != p && I(t, p), null != h && I(t, h), !0 }(e, t);
          case "connack":
            return function(e, t, r) { const o = r ? r.protocolVersion : 4,
                a = e || {},
                u = 5 === o ? a.reasonCode : a.returnCode,
                f = a.properties; let l = 2; if ("number" != typeof u) return t.destroy(new Error(
                "Invalid return code")), !1; let c = null; if (5 === o) { if (c = O(t, f), !c) return !1;
                l += c.length } return t.write(n.CONNACK_HEADER), _(t, l), t.write(a.sessionPresent ? n
                .SESSIONPRESENT_HEADER : s), t.write(i.from([u])), null != c && c.write(), !0 }(e, t, r);
          case "publish":
            return function(e, t, r) { f("publish: packet: %o", e); const s = r ? r.protocolVersion : 4,
                a = e || {},
                u = a.qos || 0,
                l = a.retain ? n.RETAIN_MASK : 0,
                c = a.topic,
                p = a.payload || o,
                h = a.messageId,
                d = a.properties; let g = 0; if ("string" == typeof c) g += i.byteLength(c) + 2;
              else { if (!i.isBuffer(c)) return t.destroy(new Error("Invalid topic")), !1;
                g += c.length + 2 } if (i.isBuffer(p) ? g += p.length : g += i.byteLength(p), u && "number" !=
                typeof h) return t.destroy(new Error("Invalid messageId")), !1;
              u && (g += 2); let b = null; if (5 === s) { if (b = O(t, d), !b) return !1;
                g += b.length } return t.write(n.PUBLISH_HEADER[u][a.dup ? 1 : 0][l ? 1 : 0]), _(t, g), y(t, B(c)),
                t.write(c), u > 0 && y(t, h), null != b && b.write(), f("publish: payload: %o", p), t.write(p) }(e,
              t, r);
          case "puback":
          case "pubrec":
          case "pubrel":
          case "pubcomp":
            return function(e, t, r) { const o = r ? r.protocolVersion : 4,
                s = e || {},
                a = s.cmd || "puback",
                u = s.messageId,
                f = s.dup && "pubrel" === a ? n.DUP_MASK : 0; let l = 0; const c = s.reasonCode,
                p = s.properties; let h = 5 === o ? 3 : 2; if ("pubrel" === a && (l = 1), "number" != typeof u)
                return t.destroy(new Error("Invalid messageId")), !1; let d = null; if (5 === o && "object" ==
                typeof p) { if (d = C(t, p, r, h), !d) return !1;
                h += d.length } return t.write(n.ACKS[a][l][f][0]), _(t, h), y(t, u), 5 === o && t.write(i.from([
                c])), null !== d && d.write(), !0 }(e, t, r);
          case "subscribe":
            return function(e, t, r) { f("subscribe: packet: "); const o = r ? r.protocolVersion : 4,
                s = e || {},
                a = s.dup ? n.DUP_MASK : 0,
                u = s.messageId,
                l = s.subscriptions,
                c = s.properties; let p = 0; if ("number" != typeof u) return t.destroy(new Error(
                "Invalid messageId")), !1;
              p += 2; let h = null; if (5 === o) { if (h = O(t, c), !h) return !1;
                p += h.length } if ("object" != typeof l || !l.length) return t.destroy(new Error(
                "Invalid subscriptions")), !1; for (let e = 0; e < l.length; e += 1) { const r = l[e].topic,
                  n = l[e].qos; if ("string" != typeof r) return t.destroy(new Error(
                  "Invalid subscriptions - invalid topic")), !1; if ("number" != typeof n) return t.destroy(
                  new Error("Invalid subscriptions - invalid qos")), !1; if (5 === o) { if ("boolean" != typeof(l[e]
                      .nl || !1)) return t.destroy(new Error("Invalid subscriptions - invalid No Local")), !1; if (
                    "boolean" != typeof(l[e].rap || !1)) return t.destroy(new Error(
                    "Invalid subscriptions - invalid Retain as Published")), !1; const r = l[e].rh || 0; if (
                    "number" != typeof r || r > 2) return t.destroy(new Error(
                    "Invalid subscriptions - invalid Retain Handling")), !1 } p += i.byteLength(r) + 2 + 1 } f(
                "subscribe: writing to stream: %o", n.SUBSCRIBE_HEADER), t.write(n.SUBSCRIBE_HEADER[1][a ? 1 : 0][
                0
              ]), _(t, p), y(t, u), null !== h && h.write(); let d = !0; for (const e of l) { const r = e.topic,
                  s = e.qos,
                  a = +e.nl,
                  u = +e.rap,
                  f = e.rh; let l;
                v(t, r), l = n.SUBSCRIBE_OPTIONS_QOS[s], 5 === o && (l |= a ? n.SUBSCRIBE_OPTIONS_NL : 0, l |= u ? n
                  .SUBSCRIBE_OPTIONS_RAP : 0, l |= f ? n.SUBSCRIBE_OPTIONS_RH[f] : 0), d = t.write(i.from([
                l])) } return d }(e, t, r);
          case "suback":
            return function(e, t, r) { const o = r ? r.protocolVersion : 4,
                s = e || {},
                a = s.messageId,
                u = s.granted,
                f = s.properties; let l = 0; if ("number" != typeof a) return t.destroy(new Error(
                "Invalid messageId")), !1; if (l += 2, "object" != typeof u || !u.length) return t.destroy(
                new Error("Invalid qos vector")), !1; for (let e = 0; e < u.length; e += 1) { if ("number" !=
                  typeof u[e]) return t.destroy(new Error("Invalid qos vector")), !1;
                l += 1 } let c = null; if (5 === o) { if (c = C(t, f, r, l), !c) return !1;
                l += c.length } return t.write(n.SUBACK_HEADER), _(t, l), y(t, a), null !== c && c.write(), t.write(
                i.from(u)) }(e, t, r);
          case "unsubscribe":
            return function(e, t, r) { const o = r ? r.protocolVersion : 4,
                s = e || {},
                a = s.messageId,
                u = s.dup ? n.DUP_MASK : 0,
                f = s.unsubscriptions,
                l = s.properties; let c = 0; if ("number" != typeof a) return t.destroy(new Error(
                "Invalid messageId")), !1; if (c += 2, "object" != typeof f || !f.length) return t.destroy(
                new Error("Invalid unsubscriptions")), !1; for (let e = 0; e < f.length; e += 1) { if ("string" !=
                  typeof f[e]) return t.destroy(new Error("Invalid unsubscriptions")), !1;
                c += i.byteLength(f[e]) + 2 } let p = null; if (5 === o) { if (p = O(t, l), !p) return !1;
                c += p.length } t.write(n.UNSUBSCRIBE_HEADER[1][u ? 1 : 0][0]), _(t, c), y(t, a), null !== p && p
                .write(); let h = !0; for (let e = 0; e < f.length; e++) h = v(t, f[e]); return h }(e, t, r);
          case "unsuback":
            return function(e, t, r) { const o = r ? r.protocolVersion : 4,
                s = e || {},
                a = s.messageId,
                u = s.dup ? n.DUP_MASK : 0,
                f = s.granted,
                l = s.properties,
                c = s.cmd; let p = 2; if ("number" != typeof a) return t.destroy(new Error("Invalid messageId")), !
              1; if (5 === o) { if ("object" != typeof f || !f.length) return t.destroy(new Error(
                  "Invalid qos vector")), !1; for (let e = 0; e < f.length; e += 1) { if ("number" != typeof f[e])
                    return t.destroy(new Error("Invalid qos vector")), !1;
                  p += 1 } } let h = null; if (5 === o) { if (h = C(t, l, r, p), !h) return !1;
                p += h.length } return t.write(n.ACKS[c][0][u][0]), _(t, p), y(t, a), null !== h && h.write(), 5 ===
                o && t.write(i.from(f)), !0 }(e, t, r);
          case "pingreq":
          case "pingresp":
            return function(e, t, r) { return t.write(n.EMPTY[e.cmd]) }(e, t);
          case "disconnect":
            return function(e, t, r) { const o = r ? r.protocolVersion : 4,
                s = e || {},
                a = s.reasonCode,
                u = s.properties; let f = 5 === o ? 1 : 0,
                l = null; if (5 === o) { if (l = C(t, u, r, f), !l) return !1;
                f += l.length } return t.write(i.from([n.codes.disconnect << 4])), _(t, f), 5 === o && t.write(i
                .from([a])), null !== l && l.write(), !0 }(e, t, r);
          case "auth":
            return function(e, t, r) { const o = r ? r.protocolVersion : 4,
                s = e || {},
                a = s.reasonCode,
                u = s.properties; let f = 5 === o ? 1 : 0;
              5 !== o && t.destroy(new Error("Invalid mqtt version for auth packet")); const l = C(t, u, r,
              f); return !!l && (f += l.length, t.write(i.from([n.codes.auth << 4])), _(t, f), t.write(i.from([a])),
                null !== l && l.write(), !0) }(e, t, r);
          default:
            return t.destroy(new Error("Unknown command")), !1 } }

      function m(e) { e.uncork() } Object.defineProperty(b, "cacheNumbers", { get: () => y === E, set(e) { e ? (l &&
            0 !== Object.keys(l).length || (g = !0), y = E) : (g = !1, y = A) } }); const w = {};

      function _(e, t) { if (t > n.VARBYTEINT_MAX) return e.destroy(new Error(`Invalid variable byte integer: ${t}`)),
          !1; let r = w[t]; return r || (r = h(t), t < 16384 && (w[t] = r)), f(
          "writeVarByteInt: writing to stream: %o", r), e.write(r) }

      function v(e, t) { const r = i.byteLength(t); return y(e, r), f("writeString: %s", t), e.write(t, "utf8") }

      function S(e, t, r) { v(e, t), v(e, r) }

      function E(e, t) { return f("writeNumberCached: number: %d", t), f("writeNumberCached: %o", l[t]), e.write(l[
        t]) }

      function A(e, t) { const r = c(t); return f("writeNumberGenerated: %o", r), e.write(r) }

      function I(e, t) { "string" == typeof t ? v(e, t) : t ? (y(e, t.length), e.write(t)) : y(e, 0) }

      function O(e, t) { if ("object" != typeof t || null != t.length) return { length: 1, write() { k(e, {},
            0) } }; let r = 0;

        function o(t, r) { let o = 0; switch (n.propertiesTypes[t]) {
            case "byte":
              if ("boolean" != typeof r) return e.destroy(new Error(`Invalid ${t}: ${r}`)), !1;
              o += 2; break;
            case "int8":
              if ("number" != typeof r || r < 0 || r > 255) return e.destroy(new Error(`Invalid ${t}: ${r}`)), !1;
              o += 2; break;
            case "binary":
              if (r && null === r) return e.destroy(new Error(`Invalid ${t}: ${r}`)), !1;
              o += 1 + i.byteLength(r) + 2; break;
            case "int16":
              if ("number" != typeof r || r < 0 || r > 65535) return e.destroy(new Error(`Invalid ${t}: ${r}`)), !1;
              o += 3; break;
            case "int32":
              if ("number" != typeof r || r < 0 || r > 4294967295) return e.destroy(new Error(`Invalid ${t}: ${r}`)),
                !1;
              o += 5; break;
            case "var":
              if ("number" != typeof r || r < 0 || r > 268435455) return e.destroy(new Error(`Invalid ${t}: ${r}`)), !
                1;
              o += 1 + i.byteLength(h(r)); break;
            case "string":
              if ("string" != typeof r) return e.destroy(new Error(`Invalid ${t}: ${r}`)), !1;
              o += 3 + i.byteLength(r.toString()); break;
            case "pair":
              if ("object" != typeof r) return e.destroy(new Error(`Invalid ${t}: ${r}`)), !1;
              o += Object.getOwnPropertyNames(r).reduce(((e, t) => { const n = r[t]; return Array.isArray(n) ? e += n
                  .reduce(((e, r) => e + (3 + i.byteLength(t.toString()) + 2 + i.byteLength(r.toString()))),
                  0) : e += 3 + i.byteLength(t.toString()) + 2 + i.byteLength(r[t].toString()), e }), 0); break;
            default:
              return e.destroy(new Error(`Invalid property ${t}: ${r}`)), !1 } return o } if (t)
          for (const e in t) { let n = 0,
              i = 0; const s = t[e]; if (Array.isArray(s))
              for (let t = 0; t < s.length; t++) { if (i = o(e, s[t]), !i) return !1;
                n += i } else { if (i = o(e, s), !i) return !1;
                n = i }
            if (!n) return !1;
            r += n }
        return { length: i.byteLength(h(r)) + r, write() { k(e, t, r) } } }

      function C(e, t, r, n) { const i = ["reasonString", "userProperties"],
          o = r && r.properties && r.properties.maximumPacketSize ? r.properties.maximumPacketSize : 0; let s = O(e,
          t); if (o)
          for (; n + s.length > o;) { const r = i.shift(); if (!r || !t[r]) return !1;
            delete t[r], s = O(e, t) }
        return s }

      function R(e, t, r) { switch (n.propertiesTypes[t]) {
          case "byte":
            e.write(i.from([n.properties[t]])), e.write(i.from([+r])); break;
          case "int8":
            e.write(i.from([n.properties[t]])), e.write(i.from([r])); break;
          case "binary":
            e.write(i.from([n.properties[t]])), I(e, r); break;
          case "int16":
            e.write(i.from([n.properties[t]])), y(e, r); break;
          case "int32":
            e.write(i.from([n.properties[t]])),
              function(e, t) { const r = d(t);
                f("write4ByteNumber: %o", r), e.write(r) }(e, r); break;
          case "var":
            e.write(i.from([n.properties[t]])), _(e, r); break;
          case "string":
            e.write(i.from([n.properties[t]])), v(e, r); break;
          case "pair":
            Object.getOwnPropertyNames(r).forEach((o => { const s = r[o];
              Array.isArray(s) ? s.forEach((r => { e.write(i.from([n.properties[t]])), S(e, o.toString(), r
                  .toString()) })) : (e.write(i.from([n.properties[t]])), S(e, o.toString(), s
          .toString())) })); break;
          default:
            return e.destroy(new Error(`Invalid property ${t} value: ${r}`)), !1 } }

      function k(e, t, r) { _(e, r); for (const r in t)
          if (Object.prototype.hasOwnProperty.call(t, r) && null !== t[r]) { const n = t[r]; if (Array.isArray(n))
              for (let t = 0; t < n.length; t++) R(e, r, n[t]);
            else R(e, r, n) } }

      function B(e) { return e ? e instanceof i ? e.length : i.byteLength(e) : 0 }

      function T(e) { return "string" == typeof e || e instanceof i } e.exports = b }, 7824: e => { var t = 1e3,
        r = 60 * t,
        n = 60 * r,
        i = 24 * n;

      function o(e, t, r, n) { var i = t >= 1.5 * r; return Math.round(e / r) + " " + n + (i ? "s" : "") } e.exports =
        function(e, s) { s = s || {}; var a, u, f = typeof e; if ("string" === f && e.length > 0) return function(
          e) { if (!((e = String(e)).length > 100)) { var o =
                /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i
                .exec(e); if (o) { var s = parseFloat(o[1]); switch ((o[2] || "ms").toLowerCase()) {
                  case "years":
                  case "year":
                  case "yrs":
                  case "yr":
                  case "y":
                    return 315576e5 * s;
                  case "weeks":
                  case "week":
                  case "w":
                    return 6048e5 * s;
                  case "days":
                  case "day":
                  case "d":
                    return s * i;
                  case "hours":
                  case "hour":
                  case "hrs":
                  case "hr":
                  case "h":
                    return s * n;
                  case "minutes":
                  case "minute":
                  case "mins":
                  case "min":
                  case "m":
                    return s * r;
                  case "seconds":
                  case "second":
                  case "secs":
                  case "sec":
                  case "s":
                    return s * t;
                  case "milliseconds":
                  case "millisecond":
                  case "msecs":
                  case "msec":
                  case "ms":
                    return s;
                  default:
                    return } } } }(e); if ("number" === f && isFinite(e)) return s.long ? (a = e, (u = Math.abs(a)) >=
            i ? o(a, u, i, "day") : u >= n ? o(a, u, n, "hour") : u >= r ? o(a, u, r, "minute") : u >= t ? o(a, u,
              t, "second") : a + " ms") : function(e) { var o = Math.abs(e); return o >= i ? Math.round(e / i) +
              "d" : o >= n ? Math.round(e / n) + "h" : o >= r ? Math.round(e / r) + "m" : o >= t ? Math.round(e /
                t) + "s" : e + "ms" }(e); throw new Error("val is not a non-empty string or a valid number. val=" +
            JSON.stringify(e)) } }, 8212: (e, t, r) => { var n = r(4155);
      void 0 === n || !n.version || 0 === n.version.indexOf("v0.") || 0 === n.version.indexOf("v1.") && 0 !== n
        .version.indexOf("v1.8.") ? e.exports = { nextTick: function(e, t, r, i) { if ("function" != typeof e)
            throw new TypeError('"callback" argument must be a function'); var o, s, a = arguments.length; switch (
              a) {
              case 0:
              case 1:
                return n.nextTick(e);
              case 2:
                return n.nextTick((function() { e.call(null, t) }));
              case 3:
                return n.nextTick((function() { e.call(null, t, r) }));
              case 4:
                return n.nextTick((function() { e.call(null, t, r, i) }));
              default:
                for (o = new Array(a - 1), s = 0; s < o.length;) o[s++] = arguments[s]; return n.nextTick((
                function() { e.apply(null, o) })) } } } : e.exports = n }, 4155: e => { var t, r, n = e.exports = {};

        function i() { throw new Error("setTimeout has not been defined") }

        function o() { throw new Error("clearTimeout has not been defined") }

        function s(e) { if (t === setTimeout) return setTimeout(e, 0); if ((t === i || !t) && setTimeout) return t =
            setTimeout, setTimeout(e, 0); try { return t(e, 0) } catch (r) { try { return t.call(null, e, 0) } catch (
            r) { return t.call(this, e, 0) } } }! function() { try { t = "function" == typeof setTimeout ? setTimeout :
              i } catch (e) { t = i } try { r = "function" == typeof clearTimeout ? clearTimeout : o } catch (e) { r =
            o } }(); var a, u = [],
          f = !1,
          l = -1;

        function c() { f && a && (f = !1, a.length ? u = a.concat(u) : l = -1, u.length && p()) }

        function p() { if (!f) { var e = s(c);
            f = !0; for (var t = u.length; t;) { for (a = u, u = []; ++l < t;) a && a[l].run();
              l = -1, t = u.length } a = null, f = !1,
              function(e) { if (r === clearTimeout) return clearTimeout(e); if ((r === o || !r) && clearTimeout)
                return r = clearTimeout, clearTimeout(e); try { r(e) } catch (t) { try { return r.call(null,
                    e) } catch (t) { return r.call(this, e) } } }(e) } }

        function h(e, t) { this.fun = e, this.array = t }

        function d() {} n.nextTick = function(e) { var t = new Array(arguments.length - 1); if (arguments.length > 1)
              for (var r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
            u.push(new h(e, t)), 1 !== u.length || f || s(p) }, h.prototype.run = function() { this.fun.apply(null, this
              .array) }, n.title = "browser", n.browser = !0, n.env = {}, n.argv = [], n.version = "", n.versions = {},
          n.on = d, n.addListener = d, n.once = d, n.off = d, n.removeListener = d, n.removeAllListeners = d, n.emit =
          d, n.prependListener = d, n.prependOnceListener = d, n.listeners = function(e) { return [] }, n.binding =
          function(e) { throw new Error("process.binding is not supported") }, n.cwd = function() { return "/" }, n
          .chdir = function(e) { throw new Error("process.chdir is not supported") }, n.umask =
      function() { return 0 } }, 4012: e => { const t = {};

      function r(e, r, n) { n || (n = Error);
        class i extends n { constructor(e, t, n) { super(function(e, t, n) { return "string" == typeof r ? r : r(e, t,
                n) }(e, t, n)) } } i.prototype.name = n.name, i.prototype.code = e, t[e] = i }

      function n(e, t) { if (Array.isArray(e)) { const r = e.length; return e = e.map((e => String(e))), r > 2 ?
            `one of ${t} ${e.slice(0,r-1).join(", ")}, or ` + e[r - 1] : 2 === r ? `one of ${t} ${e[0]} or ${e[1]}` :
            `of ${t} ${e[0]}` } return `of ${t} ${String(e)}` } r("ERR_INVALID_OPT_VALUE", (function(e,
      t) { return 'The value "' + t + '" is invalid for option "' + e + '"' }), TypeError), r(
        "ERR_INVALID_ARG_TYPE", (function(e, t, r) { let i; var o; let s; if ("string" == typeof t && (o = "not ", t
              .substr(0, o.length) === o) ? (i = "must not be", t = t.replace(/^not /, "")) : i = "must be",
            function(e, t, r) { return (void 0 === r || r > e.length) && (r = e.length), e.substring(r - t.length,
                r) === t }(e, " argument")) s = `The ${e} ${i} ${n(t,"type")}`;
          else { s =
              `The "${e}" ${"number"!=typeof u&&(u=0),u+".".length>(a=e).length||-1===a.indexOf(".",u)?"argument":"property"} ${i} ${n(t,"type")}` } var
            a, u; return s += ". Received type " + typeof r, s }), TypeError), r("ERR_STREAM_PUSH_AFTER_EOF",
        "stream.push() after EOF"), r("ERR_METHOD_NOT_IMPLEMENTED", (function(e) { return "The " + e +
          " method is not implemented" })), r("ERR_STREAM_PREMATURE_CLOSE", "Premature close"), r(
        "ERR_STREAM_DESTROYED", (function(e) { return "Cannot call " + e + " after a stream was destroyed" })), r(
        "ERR_MULTIPLE_CALLBACK", "Callback called multiple times"), r("ERR_STREAM_CANNOT_PIPE",
        "Cannot pipe, not readable"), r("ERR_STREAM_WRITE_AFTER_END", "write after end"), r(
        "ERR_STREAM_NULL_VALUES", "May not write null values to stream", TypeError), r("ERR_UNKNOWN_ENCODING", (
        function(e) { return "Unknown encoding: " + e }), TypeError), r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT",
        "stream.unshift() after end event"), e.exports.q = t }, 6753: (e, t, r) => { var n = r(4155),
        i = Object.keys || function(e) { var t = []; for (var r in e) t.push(r); return t };
      e.exports = l; var o = r(9481),
        s = r(4229);
      r(4378)(l, o); for (var a = i(s.prototype), u = 0; u < a.length; u++) { var f = a[u];
        l.prototype[f] || (l.prototype[f] = s.prototype[f]) }

      function l(e) { if (!(this instanceof l)) return new l(e);
        o.call(this, e), s.call(this, e), this.allowHalfOpen = !0, e && (!1 === e.readable && (this.readable = !1), !
          1 === e.writable && (this.writable = !1), !1 === e.allowHalfOpen && (this.allowHalfOpen = !1, this.once(
            "end", c))) }

      function c() { this._writableState.ended || n.nextTick(p, this) }

      function p(e) { e.end() } Object.defineProperty(l.prototype, "writableHighWaterMark", { enumerable: !1,
        get: function() { return this._writableState.highWaterMark } }), Object.defineProperty(l.prototype,
        "writableBuffer", { enumerable: !1, get: function() { return this._writableState && this._writableState
              .getBuffer() } }), Object.defineProperty(l.prototype, "writableLength", { enumerable: !1,
        get: function() { return this._writableState.length } }), Object.defineProperty(l.prototype,
      "destroyed", { enumerable: !1, get: function() { return void 0 !== this._readableState && void 0 !== this
            ._writableState && this._readableState.destroyed && this._writableState.destroyed }, set: function(
        e) { void 0 !== this._readableState && void 0 !== this._writableState && (this._readableState
            .destroyed = e, this._writableState.destroyed = e) } }) }, 2725: (e, t, r) => { e.exports = i; var n = r(
        4605);

      function i(e) { if (!(this instanceof i)) return new i(e);
        n.call(this, e) } r(4378)(i, n), i.prototype._transform = function(e, t, r) { r(null, e) } }, 9481: (e, t,
    r) => { var n, i = r(4155);
      e.exports = I, I.ReadableState = A, r(7187).EventEmitter; var o, s = function(e, t) { return e.listeners(t)
            .length },
        a = r(9740),
        u = r(8764).Buffer,
        f = r.g.Uint8Array || function() {},
        l = r(9539);
      o = l && l.debuglog ? l.debuglog("stream") : function() {}; var c, p, h, d = r(7327),
        y = r(1195),
        g = r(2457).getHighWaterMark,
        b = r(4012).q,
        m = b.ERR_INVALID_ARG_TYPE,
        w = b.ERR_STREAM_PUSH_AFTER_EOF,
        _ = b.ERR_METHOD_NOT_IMPLEMENTED,
        v = b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;
      r(4378)(I, a); var S = y.errorOrDestroy,
        E = ["error", "close", "destroy", "pause", "resume"];

      function A(e, t, i) { n = n || r(6753), e = e || {}, "boolean" != typeof i && (i = t instanceof n), this
          .objectMode = !!e.objectMode, i && (this.objectMode = this.objectMode || !!e.readableObjectMode), this
          .highWaterMark = g(this, e, "readableHighWaterMark", i), this.buffer = new d, this.length = 0, this.pipes =
          null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1,
          this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this
          .resumeScheduled = !1, this.paused = !0, this.emitClose = !1 !== e.emitClose, this.autoDestroy = !!e
          .autoDestroy, this.destroyed = !1, this.defaultEncoding = e.defaultEncoding || "utf8", this.awaitDrain = 0,
          this.readingMore = !1, this.decoder = null, this.encoding = null, e.encoding && (c || (c = r(2553).s), this
            .decoder = new c(e.encoding), this.encoding = e.encoding) }

      function I(e) { if (n = n || r(6753), !(this instanceof I)) return new I(e); var t = this instanceof n;
        this._readableState = new A(e, this, t), this.readable = !0, e && ("function" == typeof e.read && (this
          ._read = e.read), "function" == typeof e.destroy && (this._destroy = e.destroy)), a.call(this) }

      function O(e, t, r, n, i) { o("readableAddChunk", t); var s, a = e._readableState; if (null === t) a.reading = !
          1,
          function(e, t) { if (o("onEofChunk"), !t.ended) { if (t.decoder) { var r = t.decoder.end();
                r && r.length && (t.buffer.push(r), t.length += t.objectMode ? 1 : r.length) } t.ended = !0, t.sync ?
                B(e) : (t.needReadable = !1, t.emittedReadable || (t.emittedReadable = !0, T(e))) } }(e, a);
        else if (i || (s = function(e, t) { var r, n; return n = t, u.isBuffer(n) || n instanceof f || "string" ==
              typeof t || void 0 === t || e.objectMode || (r = new m("chunk", ["string", "Buffer", "Uint8Array"],
                t)), r }(a, t)), s) S(e, s);
        else if (a.objectMode || t && t.length > 0)
          if ("string" == typeof t || a.objectMode || Object.getPrototypeOf(t) === u.prototype || (t = function(
            e) { return u.from(e) }(t)), n) a.endEmitted ? S(e, new v) : C(e, a, t, !0);
          else if (a.ended) S(e, new w);
        else { if (a.destroyed) return !1;
          a.reading = !1, a.decoder && !r ? (t = a.decoder.write(t), a.objectMode || 0 !== t.length ? C(e, a, t, !1) :
            P(e, a)) : C(e, a, t, !1) } else n || (a.reading = !1, P(e, a)); return !a.ended && (a.length < a
          .highWaterMark || 0 === a.length) }

      function C(e, t, r, n) { t.flowing && 0 === t.length && !t.sync ? (t.awaitDrain = 0, e.emit("data", r)) : (t
          .length += t.objectMode ? 1 : r.length, n ? t.buffer.unshift(r) : t.buffer.push(r), t.needReadable && B(e)
          ), P(e, t) } Object.defineProperty(I.prototype, "destroyed", { enumerable: !1,
      get: function() { return void 0 !== this._readableState && this._readableState.destroyed }, set: function(
          e) { this._readableState && (this._readableState.destroyed = e) } }), I.prototype.destroy = y.destroy, I
        .prototype._undestroy = y.undestroy, I.prototype._destroy = function(e, t) { t(e) }, I.prototype.push =
        function(e, t) { var r, n = this._readableState; return n.objectMode ? r = !0 : "string" == typeof e && ((t =
            t || n.defaultEncoding) !== n.encoding && (e = u.from(e, t), t = ""), r = !0), O(this, e, t, !1, r) }, I
        .prototype.unshift = function(e) { return O(this, e, null, !0, !1) }, I.prototype.isPaused =
      function() { return !1 === this._readableState.flowing }, I.prototype.setEncoding = function(e) { c || (c = r(
            2553).s); var t = new c(e);
          this._readableState.decoder = t, this._readableState.encoding = this._readableState.decoder.encoding; for (
            var n = this._readableState.buffer.head, i = ""; null !== n;) i += t.write(n.data), n = n
          .next; return this._readableState.buffer.clear(), "" !== i && this._readableState.buffer.push(i), this
            ._readableState.length = i.length, this }; var R = 1073741824;

      function k(e, t) { return e <= 0 || 0 === t.length && t.ended ? 0 : t.objectMode ? 1 : e != e ? t.flowing && t
          .length ? t.buffer.head.data.length : t.length : (e > t.highWaterMark && (t.highWaterMark = function(
          e) { return e >= R ? e = R : (e--, e |= e >>> 1, e |= e >>> 2, e |= e >>> 4, e |= e >>> 8, e |= e >>>
              16, e++), e }(e)), e <= t.length ? e : t.ended ? t.length : (t.needReadable = !0, 0)) }

      function B(e) { var t = e._readableState;
        o("emitReadable", t.needReadable, t.emittedReadable), t.needReadable = !1, t.emittedReadable || (o(
          "emitReadable", t.flowing), t.emittedReadable = !0, i.nextTick(T, e)) }

      function T(e) { var t = e._readableState;
        o("emitReadable_", t.destroyed, t.length, t.ended), t.destroyed || !t.length && !t.ended || (e.emit(
            "readable"), t.emittedReadable = !1), t.needReadable = !t.flowing && !t.ended && t.length <= t
          .highWaterMark, j(e) }

      function P(e, t) { t.readingMore || (t.readingMore = !0, i.nextTick(M, e, t)) }

      function M(e, t) { for (; !t.reading && !t.ended && (t.length < t.highWaterMark || t.flowing && 0 === t
          .length);) { var r = t.length; if (o("maybeReadMore read 0"), e.read(0), r === t.length) break } t
          .readingMore = !1 }

      function U(e) { var t = e._readableState;
        t.readableListening = e.listenerCount("readable") > 0, t.resumeScheduled && !t.paused ? t.flowing = !0 : e
          .listenerCount("data") > 0 && e.resume() }

      function x(e) { o("readable nexttick read 0"), e.read(0) }

      function N(e, t) { o("resume", t.reading), t.reading || e.read(0), t.resumeScheduled = !1, e.emit("resume"), j(
          e), t.flowing && !t.reading && e.read(0) }

      function j(e) { var t = e._readableState; for (o("flow", t.flowing); t.flowing && null !== e.read();); }

      function L(e, t) { return 0 === t.length ? null : (t.objectMode ? r = t.buffer.shift() : !e || e >= t.length ? (
          r = t.decoder ? t.buffer.join("") : 1 === t.buffer.length ? t.buffer.first() : t.buffer.concat(t
          .length), t.buffer.clear()) : r = t.buffer.consume(e, t.decoder), r); var r }

      function F(e) { var t = e._readableState;
        o("endReadable", t.endEmitted), t.endEmitted || (t.ended = !0, i.nextTick(D, t, e)) }

      function D(e, t) { if (o("endReadableNT", e.endEmitted, e.length), !e.endEmitted && 0 === e.length && (e
            .endEmitted = !0, t.readable = !1, t.emit("end"), e.autoDestroy)) { var r = t._writableState;
          (!r || r.autoDestroy && r.finished) && t.destroy() } }

      function V(e, t) { for (var r = 0, n = e.length; r < n; r++)
          if (e[r] === t) return r; return -1 } I.prototype.read = function(e) { o("read", e), e = parseInt(e,
          10); var t = this._readableState,
            r = e; if (0 !== e && (t.emittedReadable = !1), 0 === e && t.needReadable && ((0 !== t.highWaterMark ? t
              .length >= t.highWaterMark : t.length > 0) || t.ended)) return o("read: emitReadable", t.length, t
            .ended), 0 === t.length && t.ended ? F(this) : B(this), null; if (0 === (e = k(e, t)) && t.ended)
          return 0 === t.length && F(this), null; var n, i = t.needReadable; return o("need readable", i), (0 === t
              .length || t.length - e < t.highWaterMark) && o("length less than watermark", i = !0), t.ended || t
            .reading ? o("reading or ended", i = !1) : i && (o("do read"), t.reading = !0, t.sync = !0, 0 === t
              .length && (t.needReadable = !0), this._read(t.highWaterMark), t.sync = !1, t.reading || (e = k(r, t))),
            null === (n = e > 0 ? L(e, t) : null) ? (t.needReadable = t.length <= t.highWaterMark, e = 0) : (t
              .length -= e, t.awaitDrain = 0), 0 === t.length && (t.ended || (t.needReadable = !0), r !== e && t
              .ended && F(this)), null !== n && this.emit("data", n), n }, I.prototype._read = function(e) { S(this,
            new _("_read()")) }, I.prototype.pipe = function(e, t) { var r = this,
            n = this._readableState; switch (n.pipesCount) {
            case 0:
              n.pipes = e; break;
            case 1:
              n.pipes = [n.pipes, e]; break;
            default:
              n.pipes.push(e) } n.pipesCount += 1, o("pipe count=%d opts=%j", n.pipesCount, t); var a = t && !1 === t
            .end || e === i.stdout || e === i.stderr ? y : u;

          function u() { o("onend"), e.end() } n.endEmitted ? i.nextTick(a) : r.once("end", a), e.on("unpipe", (
            function t(i, s) { o("onunpipe"), i === r && s && !1 === s.hasUnpiped && (s.hasUnpiped = !0, o(
                  "cleanup"), e.removeListener("close", h), e.removeListener("finish", d), e.removeListener(
                  "drain", f), e.removeListener("error", p), e.removeListener("unpipe", t), r.removeListener(
                  "end", u), r.removeListener("end", y), r.removeListener("data", c), l = !0, !n.awaitDrain || e
                ._writableState && !e._writableState.needDrain || f()) })); var f = function(
      e) { return function() { var t = e._readableState;
              o("pipeOnDrain", t.awaitDrain), t.awaitDrain && t.awaitDrain--, 0 === t.awaitDrain && s(e,
                "data") && (t.flowing = !0, j(e)) } }(r);
          e.on("drain", f); var l = !1;

          function c(t) { o("ondata"); var i = e.write(t);
            o("dest.write", i), !1 === i && ((1 === n.pipesCount && n.pipes === e || n.pipesCount > 1 && -1 !== V(n
              .pipes, e)) && !l && (o("false write response, pause", n.awaitDrain), n.awaitDrain++), r.pause()) }

          function p(t) { o("onerror", t), y(), e.removeListener("error", p), 0 === s(e, "error") && S(e, t) }

          function h() { e.removeListener("finish", d), y() }

          function d() { o("onfinish"), e.removeListener("close", h), y() }

          function y() { o("unpipe"), r.unpipe(e) } return r.on("data", c),
            function(e, t, r) { if ("function" == typeof e.prependListener) return e.prependListener(t, r);
              e._events && e._events.error ? Array.isArray(e._events.error) ? e._events.error.unshift(r) : e._events
                .error = [r, e._events.error] : e.on(t, r) }(e, "error", p), e.once("close", h), e.once("finish", d),
            e.emit("pipe", r), n.flowing || (o("pipe resume"), r.resume()), e }, I.prototype.unpipe = function(
        e) { var t = this._readableState,
            r = { hasUnpiped: !1 }; if (0 === t.pipesCount) return this; if (1 === t.pipesCount) return e && e !== t
            .pipes || (e || (e = t.pipes), t.pipes = null, t.pipesCount = 0, t.flowing = !1, e && e.emit("unpipe",
              this, r)), this; if (!e) { var n = t.pipes,
              i = t.pipesCount;
            t.pipes = null, t.pipesCount = 0, t.flowing = !1; for (var o = 0; o < i; o++) n[o].emit("unpipe",
            this, { hasUnpiped: !1 }); return this } var s = V(t.pipes, e); return -1 === s || (t.pipes.splice(s, 1),
            t.pipesCount -= 1, 1 === t.pipesCount && (t.pipes = t.pipes[0]), e.emit("unpipe", this, r)), this }, I
        .prototype.on = function(e, t) { var r = a.prototype.on.call(this, e, t),
            n = this._readableState; return "data" === e ? (n.readableListening = this.listenerCount("readable") > 0,
            !1 !== n.flowing && this.resume()) : "readable" === e && (n.endEmitted || n.readableListening || (n
            .readableListening = n.needReadable = !0, n.flowing = !1, n.emittedReadable = !1, o("on readable", n
              .length, n.reading), n.length ? B(this) : n.reading || i.nextTick(x, this))), r }, I.prototype
        .addListener = I.prototype.on, I.prototype.removeListener = function(e, t) { var r = a.prototype
            .removeListener.call(this, e, t); return "readable" === e && i.nextTick(U, this), r }, I.prototype
        .removeAllListeners = function(e) { var t = a.prototype.removeAllListeners.apply(this,
          arguments); return "readable" !== e && void 0 !== e || i.nextTick(U, this), t }, I.prototype.resume =
        function() { var e = this._readableState; return e.flowing || (o("resume"), e.flowing = !e.readableListening,
              function(e, t) { t.resumeScheduled || (t.resumeScheduled = !0, i.nextTick(N, e, t)) }(this, e)), e
            .paused = !1, this }, I.prototype.pause = function() { return o("call pause flowing=%j", this
            ._readableState.flowing), !1 !== this._readableState.flowing && (o("pause"), this._readableState
            .flowing = !1, this.emit("pause")), this._readableState.paused = !0, this }, I.prototype.wrap = function(
          e) { var t = this,
            r = this._readableState,
            n = !1; for (var i in e.on("end", (function() { if (o("wrapped end"), r.decoder && !r.ended) { var e = r
                  .decoder.end();
                e && e.length && t.push(e) } t.push(null) })), e.on("data", (function(i) { o("wrapped data"), r
                .decoder && (i = r.decoder.write(i)), r.objectMode && null == i || (r.objectMode || i && i
                  .length) && (t.push(i) || (n = !0, e.pause())) })), e) void 0 === this[i] && "function" == typeof e[
            i] && (this[i] = function(t) { return function() { return e[t].apply(e, arguments) } }(i)); for (var s =
            0; s < E.length; s++) e.on(E[s], this.emit.bind(this, E[s])); return this._read = function(t) { o(
              "wrapped _read", t), n && (n = !1, e.resume()) }, this }, "function" == typeof Symbol && (I.prototype[
          Symbol.asyncIterator] = function() { return void 0 === p && (p = r(5850)), p(this) }), Object
        .defineProperty(I.prototype, "readableHighWaterMark", { enumerable: !1, get: function() { return this
              ._readableState.highWaterMark } }), Object.defineProperty(I.prototype, "readableBuffer", { enumerable: !
            1, get: function() { return this._readableState && this._readableState.buffer } }), Object.defineProperty(
          I.prototype, "readableFlowing", { enumerable: !1, get: function() { return this._readableState.flowing },
            set: function(e) { this._readableState && (this._readableState.flowing = e) } }), I._fromList = L, Object
        .defineProperty(I.prototype, "readableLength", { enumerable: !1, get: function() { return this._readableState
              .length } }), "function" == typeof Symbol && (I.from = function(e, t) { return void 0 === h && (h = r(
            6307)), h(I, e, t) }) }, 4605: (e, t, r) => { e.exports = l; var n = r(4012).q,
        i = n.ERR_METHOD_NOT_IMPLEMENTED,
        o = n.ERR_MULTIPLE_CALLBACK,
        s = n.ERR_TRANSFORM_ALREADY_TRANSFORMING,
        a = n.ERR_TRANSFORM_WITH_LENGTH_0,
        u = r(6753);

      function f(e, t) { var r = this._transformState;
        r.transforming = !1; var n = r.writecb; if (null === n) return this.emit("error", new o);
        r.writechunk = null, r.writecb = null, null != t && this.push(t), n(e); var i = this._readableState;
        i.reading = !1, (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark) }

      function l(e) { if (!(this instanceof l)) return new l(e);
        u.call(this, e), this._transformState = { afterTransform: f.bind(this), needTransform: !1, transforming: !1,
            writecb: null, writechunk: null, writeencoding: null }, this._readableState.needReadable = !0, this
          ._readableState.sync = !1, e && ("function" == typeof e.transform && (this._transform = e.transform),
            "function" == typeof e.flush && (this._flush = e.flush)), this.on("prefinish", c) }

      function c() { var e = this; "function" != typeof this._flush || this._readableState.destroyed ? p(this, null,
          null) : this._flush((function(t, r) { p(e, t, r) })) }

      function p(e, t, r) { if (t) return e.emit("error", t); if (null != r && e.push(r), e._writableState.length)
          throw new a; if (e._transformState.transforming) throw new s; return e.push(null) } r(4378)(l, u), l
        .prototype.push = function(e, t) { return this._transformState.needTransform = !1, u.prototype.push.call(this,
            e, t) }, l.prototype._transform = function(e, t, r) { r(new i("_transform()")) }, l.prototype._write =
        function(e, t, r) { var n = this._transformState; if (n.writecb = r, n.writechunk = e, n.writeencoding = t, !n
            .transforming) { var i = this._readableState;
            (n.needTransform || i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark) } }, l
        .prototype._read = function(e) { var t = this._transformState;
          null === t.writechunk || t.transforming ? t.needTransform = !0 : (t.transforming = !0, this._transform(t
            .writechunk, t.writeencoding, t.afterTransform)) }, l.prototype._destroy = function(e, t) { u.prototype
            ._destroy.call(this, e, (function(e) { t(e) })) } }, 4229: (e, t, r) => { var n, i = r(4155);

      function o(e) { var t = this;
        this.next = null, this.entry = null, this.finish = function() {! function(e, t, r) { var n = e.entry; for (e
              .entry = null; n;) { var i = n.callback;
              t.pendingcb--, i(undefined), n = n.next } t.corkedRequestsFree.next = e }(t, e) } } e.exports = I, I
        .WritableState = A; var s, a = { deprecate: r(1159) },
        u = r(9740),
        f = r(8764).Buffer,
        l = r.g.Uint8Array || function() {},
        c = r(1195),
        p = r(2457).getHighWaterMark,
        h = r(4012).q,
        d = h.ERR_INVALID_ARG_TYPE,
        y = h.ERR_METHOD_NOT_IMPLEMENTED,
        g = h.ERR_MULTIPLE_CALLBACK,
        b = h.ERR_STREAM_CANNOT_PIPE,
        m = h.ERR_STREAM_DESTROYED,
        w = h.ERR_STREAM_NULL_VALUES,
        _ = h.ERR_STREAM_WRITE_AFTER_END,
        v = h.ERR_UNKNOWN_ENCODING,
        S = c.errorOrDestroy;

      function E() {}

      function A(e, t, s) { n = n || r(6753), e = e || {}, "boolean" != typeof s && (s = t instanceof n), this
          .objectMode = !!e.objectMode, s && (this.objectMode = this.objectMode || !!e.writableObjectMode), this
          .highWaterMark = p(this, e, "writableHighWaterMark", s), this.finalCalled = !1, this.needDrain = !1, this
          .ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1; var a = !1 === e.decodeStrings;
        this.decodeStrings = !a, this.defaultEncoding = e.defaultEncoding || "utf8", this.length = 0, this.writing = !
          1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(e) {! function(e,
            t) { var r = e._writableState,
                n = r.sync,
                o = r.writecb; if ("function" != typeof o) throw new g; if (function(e) { e.writing = !1, e.writecb =
                    null, e.length -= e.writelen, e.writelen = 0 }(r), t) ! function(e, t, r, n, o) {--t.pendingcb,
                  r ? (i.nextTick(o, n), i.nextTick(T, e, t), e._writableState.errorEmitted = !0, S(e, n)) : (o(n),
                    e._writableState.errorEmitted = !0, S(e, n), T(e, t)) }(e, r, n, t, o);
              else { var s = k(r) || e.destroyed;
                s || r.corked || r.bufferProcessing || !r.bufferedRequest || R(e, r), n ? i.nextTick(C, e, r, s, o) :
                  C(e, r, s, o) } }(t, e) }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this
          .lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this
          .emitClose = !1 !== e.emitClose, this.autoDestroy = !!e.autoDestroy, this.bufferedRequestCount = 0, this
          .corkedRequestsFree = new o(this) }

      function I(e) { var t = this instanceof(n = n || r(6753)); if (!t && !s.call(I, this)) return new I(e);
        this._writableState = new A(e, this, t), this.writable = !0, e && ("function" == typeof e.write && (this
            ._write = e.write), "function" == typeof e.writev && (this._writev = e.writev), "function" == typeof e
          .destroy && (this._destroy = e.destroy), "function" == typeof e.final && (this._final = e.final)), u.call(
          this) }

      function O(e, t, r, n, i, o, s) { t.writelen = n, t.writecb = s, t.writing = !0, t.sync = !0, t.destroyed ? t
          .onwrite(new m("write")) : r ? e._writev(i, t.onwrite) : e._write(i, o, t.onwrite), t.sync = !1 }

      function C(e, t, r, n) { r || function(e, t) { 0 === t.length && t.needDrain && (t.needDrain = !1, e.emit(
            "drain")) }(e, t), t.pendingcb--, n(), T(e, t) }

      function R(e, t) { t.bufferProcessing = !0; var r = t.bufferedRequest; if (e._writev && r && r.next) { var n = t
            .bufferedRequestCount,
            i = new Array(n),
            s = t.corkedRequestsFree;
          s.entry = r; for (var a = 0, u = !0; r;) i[a] = r, r.isBuf || (u = !1), r = r.next, a += 1;
          i.allBuffers = u, O(e, t, !0, t.length, i, "", s.finish), t.pendingcb++, t.lastBufferedRequest = null, s
            .next ? (t.corkedRequestsFree = s.next, s.next = null) : t.corkedRequestsFree = new o(t), t
            .bufferedRequestCount = 0 } else { for (; r;) { var f = r.chunk,
              l = r.encoding,
              c = r.callback; if (O(e, t, !1, t.objectMode ? 1 : f.length, f, l, c), r = r.next, t
              .bufferedRequestCount--, t.writing) break } null === r && (t.lastBufferedRequest = null) } t
          .bufferedRequest = r, t.bufferProcessing = !1 }

      function k(e) { return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing }

      function B(e, t) { e._final((function(r) { t.pendingcb--, r && S(e, r), t.prefinished = !0, e.emit("prefinish"),
            T(e, t) })) }

      function T(e, t) { var r = k(t); if (r && (function(e, t) { t.prefinished || t.finalCalled || ("function" !=
              typeof e._final || t.destroyed ? (t.prefinished = !0, e.emit("prefinish")) : (t.pendingcb++, t
                .finalCalled = !0, i.nextTick(B, e, t))) }(e, t), 0 === t.pendingcb && (t.finished = !0, e.emit(
            "finish"), t.autoDestroy))) { var n = e._readableState;
          (!n || n.autoDestroy && n.endEmitted) && e.destroy() } return r } r(4378)(I, u), A.prototype.getBuffer =
        function() { for (var e = this.bufferedRequest, t = []; e;) t.push(e), e = e.next; return t },
        function() { try { Object.defineProperty(A.prototype, "buffer", { get: a.deprecate((function() { return this
                    .getBuffer() }),
                "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003") }) } catch (
            e) {} }(), "function" == typeof Symbol && Symbol.hasInstance && "function" == typeof Function.prototype[
          Symbol.hasInstance] ? (s = Function.prototype[Symbol.hasInstance], Object.defineProperty(I, Symbol
          .hasInstance, { value: function(e) { return !!s.call(this, e) || this === I && e && e
                ._writableState instanceof A } })) : s = function(e) { return e instanceof this }, I.prototype.pipe =
        function() { S(this, new b) }, I.prototype.write = function(e, t, r) { var n, o = this._writableState,
            s = !1,
            a = !o.objectMode && (n = e, f.isBuffer(n) || n instanceof l); return a && !f.isBuffer(e) && (e =
              function(e) { return f.from(e) }(e)), "function" == typeof t && (r = t, t = null), a ? t = "buffer" :
            t || (t = o.defaultEncoding), "function" != typeof r && (r = E), o.ending ? function(e, t) { var r =
              new _;
              S(e, r), i.nextTick(t, r) }(this, r) : (a || function(e, t, r, n) { var o; return null === r ? o =
                new w : "string" == typeof r || t.objectMode || (o = new d("chunk", ["string", "Buffer"], r)), !o ||
                (S(e, o), i.nextTick(n, o), !1) }(this, o, e, r)) && (o.pendingcb++, s = function(e, t, r, n, i,
            o) { if (!r) { var s = function(e, t, r) { return e.objectMode || !1 === e.decodeStrings || "string" !=
                    typeof t || (t = f.from(t, r)), t }(t, n, i);
                n !== s && (r = !0, i = "buffer", n = s) } var a = t.objectMode ? 1 : n.length;
              t.length += a; var u = t.length < t.highWaterMark; if (u || (t.needDrain = !0), t.writing || t
                .corked) { var l = t.lastBufferedRequest;
                t.lastBufferedRequest = { chunk: n, encoding: i, isBuf: r, callback: o, next: null }, l ? l.next = t
                  .lastBufferedRequest : t.bufferedRequest = t.lastBufferedRequest, t.bufferedRequestCount +=
                  1 } else O(e, t, !1, a, n, i, o); return u }(this, o, a, e, t, r)), s }, I.prototype.cork =
        function() { this._writableState.corked++ }, I.prototype.uncork = function() { var e = this._writableState;
          e.corked && (e.corked--, e.writing || e.corked || e.bufferProcessing || !e.bufferedRequest || R(this, e)) },
        I.prototype.setDefaultEncoding = function(e) { if ("string" == typeof e && (e = e.toLowerCase()), !(["hex",
              "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"
            ].indexOf((e + "").toLowerCase()) > -1)) throw new v(e); return this._writableState.defaultEncoding = e,
            this }, Object.defineProperty(I.prototype, "writableBuffer", { enumerable: !1,
      get: function() { return this._writableState && this._writableState.getBuffer() } }), Object.defineProperty(I
          .prototype, "writableHighWaterMark", { enumerable: !1, get: function() { return this._writableState
                .highWaterMark } }), I.prototype._write = function(e, t, r) { r(new y("_write()")) }, I.prototype
        ._writev = null, I.prototype.end = function(e, t, r) { var n = this._writableState; return "function" ==
            typeof e ? (r = e, e = null, t = null) : "function" == typeof t && (r = t, t = null), null != e && this
            .write(e, t), n.corked && (n.corked = 1, this.uncork()), n.ending || function(e, t, r) { t.ending = !0, T(
                e, t), r && (t.finished ? i.nextTick(r) : e.once("finish", r)), t.ended = !0, e.writable = !1 }(this,
              n, r), this }, Object.defineProperty(I.prototype, "writableLength", { enumerable: !1,
      get: function() { return this._writableState.length } }), Object.defineProperty(I.prototype,
        "destroyed", { enumerable: !1, get: function() { return void 0 !== this._writableState && this
              ._writableState.destroyed }, set: function(e) { this._writableState && (this._writableState
              .destroyed = e) } }), I.prototype.destroy = c.destroy, I.prototype._undestroy = c.undestroy, I.prototype
        ._destroy = function(e, t) { t(e) } }, 5850: (e, t, r) => { var n, i = r(4155);

      function o(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0,
          writable: !0 }) : e[t] = r, e } var s = r(8610),
        a = Symbol("lastResolve"),
        u = Symbol("lastReject"),
        f = Symbol("error"),
        l = Symbol("ended"),
        c = Symbol("lastPromise"),
        p = Symbol("handlePromise"),
        h = Symbol("stream");

      function d(e, t) { return { value: e, done: t } }

      function y(e) { var t = e[a]; if (null !== t) { var r = e[h].read();
          null !== r && (e[c] = null, e[a] = null, e[u] = null, t(d(r, !1))) } }

      function g(e) { i.nextTick(y, e) } var b = Object.getPrototypeOf((function() {})),
        m = Object.setPrototypeOf((o(n = { get stream() { return this[h] }, next: function() { var e = this,
              t = this[f]; if (null !== t) return Promise.reject(t); if (this[l]) return Promise.resolve(d(
              void 0, !0)); if (this[h].destroyed) return new Promise((function(t, r) { i.nextTick((
            function() { e[f] ? r(e[f]) : t(d(void 0, !0)) })) })); var r, n = this[c]; if (n) r =
              new Promise(function(e, t) { return function(r, n) { e.then((function() { t[l] ? r(d(void 0, !
                      0)) : t[p](r, n) }), n) } }(n, this));
            else { var o = this[h].read(); if (null !== o) return Promise.resolve(d(o, !1));
              r = new Promise(this[p]) } return this[c] = r, r } }, Symbol.asyncIterator, (
      function() { return this })), o(n, "return", (function() { var e = this; return new Promise((function(t,
          r) { e[h].destroy(null, (function(e) { e ? r(e) : t(d(void 0, !0)) })) })) })), n), b);
      e.exports = function(e) { var t, r = Object.create(m, (o(t = {}, h, { value: e, writable: !0 }), o(t,
        a, { value: null, writable: !0 }), o(t, u, { value: null, writable: !0 }), o(t, f, { value: null,
          writable: !0 }), o(t, l, { value: e._readableState.endEmitted, writable: !0 }), o(t,
        p, { value: function(e, t) { var n = r[h].read();
              n ? (r[c] = null, r[a] = null, r[u] = null, e(d(n, !1))) : (r[a] = e, r[u] = t) }, writable: !
            0 }), t)); return r[c] = null, s(e, (function(e) { if (e && "ERR_STREAM_PREMATURE_CLOSE" !== e
            .code) { var t = r[u]; return null !== t && (r[c] = null, r[a] = null, r[u] = null, t(e)), void(r[
              f] = e) } var n = r[a];
          null !== n && (r[c] = null, r[a] = null, r[u] = null, n(d(void 0, !0))), r[l] = !0 })), e.on("readable",
          g.bind(null, r)), r } }, 7327: (e, t, r) => {
      function n(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object
            .getOwnPropertySymbols(e);
          t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push
            .apply(r, n) } return r }

      function i(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0,
          writable: !0 }) : e[t] = r, e }

      function o(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r];
          n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object
            .defineProperty(e, n.key, n) } } var s = r(8764).Buffer,
        a = r(9539).inspect,
        u = a && a.custom || "inspect";
      e.exports = function() {
        function e() {! function(e, t) { if (!(e instanceof t)) throw new TypeError(
              "Cannot call a class as a function") }(this, e), this.head = null, this.tail = null, this.length =
          0 } var t, r; return t = e, r = [{ key: "push", value: function(e) { var t = { data: e, next: null };
            this.length > 0 ? this.tail.next = t : this.head = t, this.tail = t, ++this.length } },
        { key: "unshift", value: function(e) { var t = { data: e, next: this.head };
            0 === this.length && (this.tail = t), this.head = t, ++this.length } }, { key: "shift",
          value: function() { if (0 !== this.length) { var e = this.head.data; return 1 === this.length ? this
                  .head = this.tail = null : this.head = this.head.next, --this.length, e } } }, { key: "clear",
          value: function() { this.head = this.tail = null, this.length = 0 } }, { key: "join", value: function(
            e) { if (0 === this.length) return ""; for (var t = this.head, r = "" + t.data; t = t.next;) r +=
              e + t.data; return r } }, { key: "concat", value: function(e) { if (0 === this.length) return s
              .alloc(0); for (var t, r, n, i = s.allocUnsafe(e >>> 0), o = this.head, a = 0; o;) t = o.data,
              r = i, n = a, s.prototype.copy.call(t, r, n), a += o.data.length, o = o.next; return i } },
        { key: "consume", value: function(e, t) { var r; return e < this.head.data.length ? (r = this.head.data
                .slice(0, e), this.head.data = this.head.data.slice(e)) : r = e === this.head.data.length ?
              this.shift() : t ? this._getString(e) : this._getBuffer(e), r } }, { key: "first",
          value: function() { return this.head.data } }, { key: "_getString", value: function(e) { var t = this
              .head,
              r = 1,
              n = t.data; for (e -= n.length; t = t.next;) { var i = t.data,
                o = e > i.length ? i.length : e; if (o === i.length ? n += i : n += i.slice(0, e), 0 == (e -=
                  o)) { o === i.length ? (++r, t.next ? this.head = t.next : this.head = this.tail = null) : (
                  this.head = t, t.data = i.slice(o)); break }++r } return this.length -= r, n } },
        { key: "_getBuffer", value: function(e) { var t = s.allocUnsafe(e),
              r = this.head,
              n = 1; for (r.data.copy(t), e -= r.data.length; r = r.next;) { var i = r.data,
                o = e > i.length ? i.length : e; if (i.copy(t, t.length - e, 0, o), 0 == (e -= o)) { o === i
                  .length ? (++n, r.next ? this.head = r.next : this.head = this.tail = null) : (this.head =
                    r, r.data = i.slice(o)); break }++n } return this.length -= n, t } }, { key: u,
          value: function(e, t) { return a(this, function(e) { for (var t = 1; t < arguments.length; t++) { var
                    r = null != arguments[t] ? arguments[t] : {};
                  t % 2 ? n(Object(r), !0).forEach((function(t) { i(e, t, r[t]) })) : Object
                    .getOwnPropertyDescriptors ? Object.defineProperties(e, Object
                      .getOwnPropertyDescriptors(r)) : n(Object(r)).forEach((function(t) { Object
                        .defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e }({},
              t, { depth: 0, customInspect: !1 })) } }], r && o(t.prototype, r), e }() }, 1195: (e, t, r) => { var n =
        r(4155);

      function i(e, t) { s(e, t), o(e) }

      function o(e) { e._writableState && !e._writableState.emitClose || e._readableState && !e._readableState
          .emitClose || e.emit("close") }

      function s(e, t) { e.emit("error", t) } e.exports = { destroy: function(e, t) { var r = this,
            a = this._readableState && this._readableState.destroyed,
            u = this._writableState && this._writableState.destroyed; return a || u ? (t ? t(e) : e && (this
            ._writableState ? this._writableState.errorEmitted || (this._writableState.errorEmitted = !0, n
              .nextTick(s, this, e)) : n.nextTick(s, this, e)), this) : (this._readableState && (this
              ._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this
            ._destroy(e || null, (function(e) {!t && e ? r._writableState ? r._writableState.errorEmitted ? n
                .nextTick(o, r) : (r._writableState.errorEmitted = !0, n.nextTick(i, r, e)) : n.nextTick(i,
                  r, e) : t ? (n.nextTick(o, r), t(e)) : n.nextTick(o, r) })), this) }, undestroy: function() { this
            ._readableState && (this._readableState.destroyed = !1, this._readableState.reading = !1, this
              ._readableState.ended = !1, this._readableState.endEmitted = !1), this._writableState && (this
              ._writableState.destroyed = !1, this._writableState.ended = !1, this._writableState.ending = !1,
              this._writableState.finalCalled = !1, this._writableState.prefinished = !1, this._writableState
              .finished = !1, this._writableState.errorEmitted = !1) }, errorOrDestroy: function(e, t) { var r = e
            ._readableState,
            n = e._writableState;
          r && r.autoDestroy || n && n.autoDestroy ? e.destroy(t) : e.emit("error", t) } } }, 8610: (e, t, r) => { var
        n = r(4012).q.ERR_STREAM_PREMATURE_CLOSE;

      function i() {} e.exports = function e(t, r, o) { if ("function" == typeof r) return e(t, null, r);
        r || (r = {}), o = function(e) { var t = !1; return function() { if (!t) { t = !0; for (var r = arguments
                  .length, n = new Array(r), i = 0; i < r; i++) n[i] = arguments[i];
              e.apply(this, n) } } }(o || i); var s = r.readable || !1 !== r.readable && t.readable,
          a = r.writable || !1 !== r.writable && t.writable,
          u = function() { t.writable || l() },
          f = t._writableState && t._writableState.finished,
          l = function() { a = !1, f = !0, s || o.call(t) },
          c = t._readableState && t._readableState.endEmitted,
          p = function() { s = !1, c = !0, a || o.call(t) },
          h = function(e) { o.call(t, e) },
          d = function() { var e; return s && !c ? (t._readableState && t._readableState.ended || (e = new n), o
                .call(t, e)) : a && !f ? (t._writableState && t._writableState.ended || (e = new n), o.call(t, e)) :
              void 0 },
          y = function() { t.req.on("finish", l) }; return function(e) { return e.setHeader && "function" ==
              typeof e.abort }(t) ? (t.on("complete", l), t.on("abort", d), t.req ? y() : t.on("request", y)) : a &&
          !t._writableState && (t.on("end", u), t.on("close", u)), t.on("end", p), t.on("finish", l), !1 !== r
          .error && t.on("error", h), t.on("close", d),
          function() { t.removeListener("complete", l), t.removeListener("abort", d), t.removeListener("request",
              y), t.req && t.req.removeListener("finish", l), t.removeListener("end", u), t.removeListener("close",
                u), t.removeListener("finish", l), t.removeListener("end", p), t.removeListener("error", h), t
              .removeListener("close", d) } } }, 6307: (e, t, r) => {
      function n(e, t, r, n, i, o, s) { try { var a = e[o](s),
            u = a.value } catch (e) { return void r(e) } a.done ? t(u) : Promise.resolve(u).then(n, i) }

      function i(e) { return function() { var t = this,
            r = arguments; return new Promise((function(i, o) { var s = e.apply(t, r);

            function a(e) { n(s, i, o, a, u, "next", e) }

            function u(e) { n(s, i, o, a, u, "throw", e) } a(void 0) })) } }

      function o(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object
            .getOwnPropertySymbols(e);
          t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push
            .apply(r, n) } return r }

      function s(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0,
          writable: !0 }) : e[t] = r, e } var a = r(4012).q.ERR_INVALID_ARG_TYPE;
      e.exports = function(e, t, r) { var n; if (t && "function" == typeof t.next) n = t;
        else if (t && t[Symbol.asyncIterator]) n = t[Symbol.asyncIterator]();
        else { if (!t || !t[Symbol.iterator]) throw new a("iterable", ["Iterable"], t);
          n = t[Symbol.iterator]() } var u = new e(function(e) { for (var t = 1; t < arguments.length; t++) { var
                r = null != arguments[t] ? arguments[t] : {};
              t % 2 ? o(Object(r), !0).forEach((function(t) { s(e, t, r[t]) })) : Object
                .getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : o(
                  Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r,
                    t)) })) } return e }({ objectMode: !0 }, r)),
          f = !1;

        function l() { return c.apply(this, arguments) }

        function c() { return (c = i((function*() { try { var e = yield n.next(), t = e.value;
              e.done ? u.push(null) : u.push(yield t) ? l() : f = !1 } catch (e) { u.destroy(e) } }))).apply(this,
            arguments) } return u._read = function() { f || (f = !0, l()) }, u } }, 9946: (e, t, r) => { var n, i = r(
          4012).q,
        o = i.ERR_MISSING_ARGS,
        s = i.ERR_STREAM_DESTROYED;

      function a(e) { if (e) throw e }

      function u(e, t, i, o) { o = function(e) { var t = !1; return function() { t || (t = !0, e.apply(void 0,
              arguments)) } }(o); var a = !1;
        e.on("close", (function() { a = !0 })), void 0 === n && (n = r(8610)), n(e, { readable: t, writable: i }, (
          function(e) { if (e) return o(e);
            a = !0, o() })); var u = !1; return function(t) { if (!a && !u) return u = !0,
            function(e) { return e.setHeader && "function" == typeof e.abort }(e) ? e.abort() : "function" ==
            typeof e.destroy ? e.destroy() : void o(t || new s("pipe")) } }

      function f(e) { e() }

      function l(e, t) { return e.pipe(t) }

      function c(e) { return e.length ? "function" != typeof e[e.length - 1] ? a : e.pop() : a } e.exports =
      function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; var n,
          i = c(t); if (Array.isArray(t[0]) && (t = t[0]), t.length < 2) throw new o("streams"); var s = t.map((
          function(e, r) { var o = r < t.length - 1; return u(e, o, r > 0, (function(e) { n || (n = e), e && s
                .forEach(f), o || (s.forEach(f), i(n)) })) })); return t.reduce(l) } }, 2457: (e, t, r) => { var n = r(
        4012).q.ERR_INVALID_OPT_VALUE;
      e.exports = { getHighWaterMark: function(e, t, r, i) { var o = function(e, t, r) { return null != e
              .highWaterMark ? e.highWaterMark : t ? e[r] : null }(t, i, r); if (null != o) { if (!isFinite(o) ||
              Math.floor(o) !== o || o < 0) throw new n(i ? r : "highWaterMark", o); return Math.floor(
            o) } return e.objectMode ? 16 : 16384 } } }, 9740: (e, t, r) => { e.exports = r(2830) }, 1451: (e, t,
    r) => { var n = r(4155),
        i = r(2830); "disable" === n.env.READABLE_STREAM && i ? (e.exports = i.Readable, Object.assign(e.exports, i),
        e.exports.Stream = i) : ((t = e.exports = r(9481)).Stream = i || t, t.Readable = t, t.Writable = r(4229), t
        .Duplex = r(6753), t.Transform = r(4605), t.PassThrough = r(2725), t.finished = r(8610), t.pipeline = r(
          9946)) }, 9509: (e, t, r) => { var n = r(8764),
        i = n.Buffer;

      function o(e, t) { for (var r in e) t[r] = e[r] }

      function s(e, t, r) { return i(e, t, r) } i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow ? e.exports =
        n : (o(n, t), t.Buffer = s), s.prototype = Object.create(i.prototype), o(i, s), s.from = function(e, t,
        r) { if ("number" == typeof e) throw new TypeError("Argument must not be a number"); return i(e, t, r) }, s
        .alloc = function(e, t, r) { if ("number" != typeof e) throw new TypeError("Argument must be a number"); var
            n = i(e); return void 0 !== t ? "string" == typeof r ? n.fill(t, r) : n.fill(t) : n.fill(0), n }, s
        .allocUnsafe = function(e) { if ("number" != typeof e) throw new TypeError(
          "Argument must be a number"); return i(e) }, s.allocUnsafeSlow = function(e) { if ("number" != typeof e)
            throw new TypeError("Argument must be a number"); return n.SlowBuffer(e) } }, 2830: (e, t, r) => { e
          .exports = i; var n = r(7187).EventEmitter;

        function i() { n.call(this) } r(4378)(i, n), i.Readable = r(9481), i.Writable = r(4229), i.Duplex = r(6753), i
          .Transform = r(4605), i.PassThrough = r(2725), i.finished = r(8610), i.pipeline = r(9946), i.Stream = i, i
          .prototype.pipe = function(e, t) { var r = this;

            function i(t) { e.writable && !1 === e.write(t) && r.pause && r.pause() }

            function o() { r.readable && r.resume && r.resume() } r.on("data", i), e.on("drain", o), e._isStdio || t &&
              !1 === t.end || (r.on("end", a), r.on("close", u)); var s = !1;

            function a() { s || (s = !0, e.end()) }

            function u() { s || (s = !0, "function" == typeof e.destroy && e.destroy()) }

            function f(e) { if (l(), 0 === n.listenerCount(this, "error")) throw e }

            function l() { r.removeListener("data", i), e.removeListener("drain", o), r.removeListener("end", a), r
                .removeListener("close", u), r.removeListener("error", f), e.removeListener("error", f), r
                .removeListener("end", l), r.removeListener("close", l), e.removeListener("close", l) } return r.on(
              "error", f), e.on("error", f), r.on("end", l), r.on("close", l), e.on("close", l), e.emit("pipe", r),
            e } }, 2553: (e, t, r) => { var n = r(9509).Buffer,
        i = n.isEncoding || function(e) { switch ((e = "" + e) && e.toLowerCase()) {
            case "hex":
            case "utf8":
            case "utf-8":
            case "ascii":
            case "binary":
            case "base64":
            case "ucs2":
            case "ucs-2":
            case "utf16le":
            case "utf-16le":
            case "raw":
              return !0;
            default:
              return !1 } };

      function o(e) { var t; switch (this.encoding = function(e) { var t = function(e) { if (!e) return "utf8"; for (
              var t;;) switch (e) {
              case "utf8":
              case "utf-8":
                return "utf8";
              case "ucs2":
              case "ucs-2":
              case "utf16le":
              case "utf-16le":
                return "utf16le";
              case "latin1":
              case "binary":
                return "latin1";
              case "base64":
              case "ascii":
              case "hex":
                return e;
              default:
                if (t) return;
                e = ("" + e).toLowerCase(), t = !0 } }(e); if ("string" != typeof t && (n.isEncoding === i || !i(
            e))) throw new Error("Unknown encoding: " + e); return t || e }(e), this.encoding) {
          case "utf16le":
            this.text = u, this.end = f, t = 4; break;
          case "utf8":
            this.fillLast = a, t = 4; break;
          case "base64":
            this.text = l, this.end = c, t = 3; break;
          default:
            return this.write = p, void(this.end = h) } this.lastNeed = 0, this.lastTotal = 0, this.lastChar = n
          .allocUnsafe(t) }

      function s(e) { return e <= 127 ? 0 : e >> 5 == 6 ? 2 : e >> 4 == 14 ? 3 : e >> 3 == 30 ? 4 : e >> 6 == 2 ? -1 :
          -2 }

      function a(e) { var t = this.lastTotal - this.lastNeed,
          r = function(e, t, r) { if (128 != (192 & t[0])) return e.lastNeed = 0, "�"; if (e.lastNeed > 1 && t
              .length > 1) { if (128 != (192 & t[1])) return e.lastNeed = 1, "�"; if (e.lastNeed > 2 && t.length >
                2 && 128 != (192 & t[2])) return e.lastNeed = 2, "�" } }(this, e); return void 0 !== r ? r : this
          .lastNeed <= e.length ? (e.copy(this.lastChar, t, 0, this.lastNeed), this.lastChar.toString(this.encoding,
            0, this.lastTotal)) : (e.copy(this.lastChar, t, 0, e.length), void(this.lastNeed -= e.length)) }

      function u(e, t) { if ((e.length - t) % 2 == 0) { var r = e.toString("utf16le", t); if (r) { var n = r
              .charCodeAt(r.length - 1); if (n >= 55296 && n <= 56319) return this.lastNeed = 2, this.lastTotal = 4,
              this.lastChar[0] = e[e.length - 2], this.lastChar[1] = e[e.length - 1], r.slice(0, -
            1) } return r } return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = e[e.length - 1], e
          .toString("utf16le", t, e.length - 1) }

      function f(e) { var t = e && e.length ? this.write(e) : ""; if (this.lastNeed) { var r = this.lastTotal - this
            .lastNeed; return t + this.lastChar.toString("utf16le", 0, r) } return t }

      function l(e, t) { var r = (e.length - t) % 3; return 0 === r ? e.toString("base64", t) : (this.lastNeed = 3 -
          r, this.lastTotal = 3, 1 === r ? this.lastChar[0] = e[e.length - 1] : (this.lastChar[0] = e[e.length - 2],
            this.lastChar[1] = e[e.length - 1]), e.toString("base64", t, e.length - r)) }

      function c(e) { var t = e && e.length ? this.write(e) : ""; return this.lastNeed ? t + this.lastChar.toString(
          "base64", 0, 3 - this.lastNeed) : t }

      function p(e) { return e.toString(this.encoding) }

      function h(e) { return e && e.length ? this.write(e) : "" } t.s = o, o.prototype.write = function(e) { if (0 ===
          e.length) return ""; var t, r; if (this.lastNeed) { if (void 0 === (t = this.fillLast(e))) return "";
          r = this.lastNeed, this.lastNeed = 0 } else r = 0; return r < e.length ? t ? t + this.text(e, r) : this
          .text(e, r) : t || "" }, o.prototype.end = function(e) { var t = e && e.length ? this.write(e) :
        ""; return this.lastNeed ? t + "�" : t }, o.prototype.text = function(e, t) { var r = function(e, t,
          r) { var n = t.length - 1; if (n < r) return 0; var i = s(t[n]); return i >= 0 ? (i > 0 && (e.lastNeed =
                i - 1), i) : --n < r || -2 === i ? 0 : (i = s(t[n])) >= 0 ? (i > 0 && (e.lastNeed = i - 2), i) : --
              n < r || -2 === i ? 0 : (i = s(t[n])) >= 0 ? (i > 0 && (2 === i ? i = 0 : e.lastNeed = i - 3), i) :
              0 }(this, e, t); if (!this.lastNeed) return e.toString("utf8", t);
        this.lastTotal = r; var n = e.length - (r - this.lastNeed); return e.copy(this.lastChar, 0, n), e.toString(
          "utf8", t, n) }, o.prototype.fillLast = function(e) { if (this.lastNeed <= e.length) return e.copy(this
          .lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0,
          this.lastTotal);
        e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, e.length), this.lastNeed -= e.length } },
  8555: e => { const t = function() { const e = /(Chrome|Chromium)\/(?<chromeVersion>\d+)\./.exec(navigator
        .userAgent); if (e) return Number.parseInt(e.groups.chromeVersion, 10) }() >= 69 && { level: 1, hasBasic: !
          0, has256: !1, has16m: !1 };
      e.exports = { stdout: t, stderr: t } }, 4627: (e, t) => { t.isatty = function() { return !1 }, t.ReadStream =
        function() { throw new Error("tty.ReadStream is not implemented") }, t.WriteStream =
      function() { throw new Error("tty.WriteStream is not implemented") } }, 1159: (e, t, r) => { e.exports = r(9539)
        .deprecate }, 4724: (e, t, r) => { var n = r(8764).Buffer;
      e.exports = function(e) { return e instanceof n } }, 5955: (e, t, r) => { var n = r(2584),
        i = r(8662),
        o = r(6430),
        s = r(5692);

      function a(e) { return e.call.bind(e) } var u = "undefined" != typeof BigInt,
        f = "undefined" != typeof Symbol,
        l = a(Object.prototype.toString),
        c = a(Number.prototype.valueOf),
        p = a(String.prototype.valueOf),
        h = a(Boolean.prototype.valueOf); if (u) var d = a(BigInt.prototype.valueOf); if (f) var y = a(Symbol
        .prototype.valueOf);

      function g(e, t) { if ("object" != typeof e) return !1; try { return t(e), !0 } catch (e) { return !1 } }

      function b(e) { return "[object Map]" === l(e) }

      function m(e) { return "[object Set]" === l(e) }

      function w(e) { return "[object WeakMap]" === l(e) }

      function _(e) { return "[object WeakSet]" === l(e) }

      function v(e) { return "[object ArrayBuffer]" === l(e) }

      function S(e) { return "undefined" != typeof ArrayBuffer && (v.working ? v(e) : e instanceof ArrayBuffer) }

      function E(e) { return "[object DataView]" === l(e) }

      function A(e) { return "undefined" != typeof DataView && (E.working ? E(e) : e instanceof DataView) } t
        .isArgumentsObject = n, t.isGeneratorFunction = i, t.isTypedArray = s, t.isPromise = function(
        e) { return "undefined" != typeof Promise && e instanceof Promise || null !== e && "object" == typeof e &&
            "function" == typeof e.then && "function" == typeof e.catch }, t.isArrayBufferView = function(
        e) { return "undefined" != typeof ArrayBuffer && ArrayBuffer.isView ? ArrayBuffer.isView(e) : s(e) || A(e) },
        t.isUint8Array = function(e) { return "Uint8Array" === o(e) }, t.isUint8ClampedArray = function(
        e) { return "Uint8ClampedArray" === o(e) }, t.isUint16Array = function(e) { return "Uint16Array" === o(e) }, t
        .isUint32Array = function(e) { return "Uint32Array" === o(e) }, t.isInt8Array = function(
        e) { return "Int8Array" === o(e) }, t.isInt16Array = function(e) { return "Int16Array" === o(e) }, t
        .isInt32Array = function(e) { return "Int32Array" === o(e) }, t.isFloat32Array = function(
        e) { return "Float32Array" === o(e) }, t.isFloat64Array = function(e) { return "Float64Array" === o(e) }, t
        .isBigInt64Array = function(e) { return "BigInt64Array" === o(e) }, t.isBigUint64Array = function(
        e) { return "BigUint64Array" === o(e) }, b.working = "undefined" != typeof Map && b(new Map), t.isMap =
        function(e) { return "undefined" != typeof Map && (b.working ? b(e) : e instanceof Map) }, m.working =
        "undefined" != typeof Set && m(new Set), t.isSet = function(e) { return "undefined" != typeof Set && (m
            .working ? m(e) : e instanceof Set) }, w.working = "undefined" != typeof WeakMap && w(new WeakMap), t
        .isWeakMap = function(e) { return "undefined" != typeof WeakMap && (w.working ? w(e) :
          e instanceof WeakMap) }, _.working = "undefined" != typeof WeakSet && _(new WeakSet), t.isWeakSet =
        function(e) { return _(e) }, v.working = "undefined" != typeof ArrayBuffer && v(new ArrayBuffer), t
        .isArrayBuffer = S, E.working = "undefined" != typeof ArrayBuffer && "undefined" != typeof DataView && E(
          new DataView(new ArrayBuffer(1), 0, 1)), t.isDataView = A; var I = "undefined" != typeof SharedArrayBuffer ?
        SharedArrayBuffer : void 0;

      function O(e) { return "[object SharedArrayBuffer]" === l(e) }

      function C(e) { return void 0 !== I && (void 0 === O.working && (O.working = O(new I)), O.working ? O(e) :
          e instanceof I) }

      function R(e) { return g(e, c) }

      function k(e) { return g(e, p) }

      function B(e) { return g(e, h) }

      function T(e) { return u && g(e, d) }

      function P(e) { return f && g(e, y) } t.isSharedArrayBuffer = C, t.isAsyncFunction = function(
        e) { return "[object AsyncFunction]" === l(e) }, t.isMapIterator = function(
        e) { return "[object Map Iterator]" === l(e) }, t.isSetIterator = function(
        e) { return "[object Set Iterator]" === l(e) }, t.isGeneratorObject = function(
        e) { return "[object Generator]" === l(e) }, t.isWebAssemblyCompiledModule = function(
        e) { return "[object WebAssembly.Module]" === l(e) }, t.isNumberObject = R, t.isStringObject = k, t
        .isBooleanObject = B, t.isBigIntObject = T, t.isSymbolObject = P, t.isBoxedPrimitive = function(e) { return R(
            e) || k(e) || B(e) || T(e) || P(e) }, t.isAnyArrayBuffer = function(e) { return "undefined" !=
            typeof Uint8Array && (S(e) || C(e)) }, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach((
          function(e) { Object.defineProperty(t, e, { enumerable: !1, value: function() { throw new Error(e +
                  " is not supported in userland") } }) })) }, 9539: (e, t, r) => { var n = r(4155),
        i = Object.getOwnPropertyDescriptors || function(e) { for (var t = Object.keys(e), r = {}, n = 0; n < t
            .length; n++) r[t[n]] = Object.getOwnPropertyDescriptor(e, t[n]); return r },
        o = /%[sdj%]/g;
      t.format = function(e) { if (!w(e)) { for (var t = [], r = 0; r < arguments.length; r++) t.push(f(arguments[
          r])); return t.join(" ") } r = 1; for (var n = arguments, i = n.length, s = String(e).replace(o, (
            function(e) { if ("%%" === e) return "%"; if (r >= i) return e; switch (e) {
                case "%s":
                  return String(n[r++]);
                case "%d":
                  return Number(n[r++]);
                case "%j":
                  try { return JSON.stringify(n[r++]) } catch (e) { return "[Circular]" }
                  default:
                    return e } })), a = n[r]; r < i; a = n[++r]) b(a) || !S(a) ? s += " " + a : s += " " + f(
        a); return s }, t.deprecate = function(e, r) { if (void 0 !== n && !0 === n.noDeprecation) return e; if (
          void 0 === n) return function() { return t.deprecate(e, r).apply(this, arguments) }; var i = !
        1; return function() { if (!i) { if (n.throwDeprecation) throw new Error(r);
              n.traceDeprecation ? console.trace(r) : console.error(r), i = !0 } return e.apply(this,
            arguments) } }; var s = {},
        a = /^$/; if (n.env.NODE_DEBUG) { var u = n.env.NODE_DEBUG;
        u = u.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase(), a =
          new RegExp("^" + u + "$", "i") }

      function f(e, r) { var n = { seen: [], stylize: c }; return arguments.length >= 3 && (n.depth = arguments[2]),
          arguments.length >= 4 && (n.colors = arguments[3]), g(r) ? n.showHidden = r : r && t._extend(n, r), _(n
            .showHidden) && (n.showHidden = !1), _(n.depth) && (n.depth = 2), _(n.colors) && (n.colors = !1), _(n
            .customInspect) && (n.customInspect = !0), n.colors && (n.stylize = l), p(n, e, n.depth) }

      function l(e, t) { var r = f.styles[t]; return r ? "[" + f.colors[r][0] + "m" + e + "[" + f.colors[r][1] +
          "m" : e }

      function c(e, t) { return e }

      function p(e, r, n) { if (e.customInspect && r && I(r.inspect) && r.inspect !== t.inspect && (!r.constructor ||
            r.constructor.prototype !== r)) { var i = r.inspect(n, e); return w(i) || (i = p(e, i, n)), i } var o =
          function(e, t) { if (_(t)) return e.stylize("undefined", "undefined"); if (w(t)) { var r = "'" + JSON
                .stringify(t).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'"; return e.stylize(
                r, "string") } return m(t) ? e.stylize("" + t, "number") : g(t) ? e.stylize("" + t, "boolean") : b(
              t) ? e.stylize("null", "null") : void 0 }(e, r); if (o) return o; var s = Object.keys(r),
          a = function(e) { var t = {}; return e.forEach((function(e, r) { t[e] = !0 })), t }(s); if (e.showHidden &&
          (s = Object.getOwnPropertyNames(r)), A(r) && (s.indexOf("message") >= 0 || s.indexOf("description") >= 0))
          return h(r); if (0 === s.length) { if (I(r)) { var u = r.name ? ": " + r.name : ""; return e.stylize(
              "[Function" + u + "]", "special") } if (v(r)) return e.stylize(RegExp.prototype.toString.call(r),
            "regexp"); if (E(r)) return e.stylize(Date.prototype.toString.call(r), "date"); if (A(r)) return h(
          r) } var f, l = "",
          c = !1,
          S = ["{", "}"]; return y(r) && (c = !0, S = ["[", "]"]), I(r) && (l = " [Function" + (r.name ? ": " + r
            .name : "") + "]"), v(r) && (l = " " + RegExp.prototype.toString.call(r)), E(r) && (l = " " + Date
            .prototype.toUTCString.call(r)), A(r) && (l = " " + h(r)), 0 !== s.length || c && 0 != r.length ? n < 0 ?
          v(r) ? e.stylize(RegExp.prototype.toString.call(r), "regexp") : e.stylize("[Object]", "special") : (e.seen
            .push(r), f = c ? function(e, t, r, n, i) { for (var o = [], s = 0, a = t.length; s < a; ++s) B(t, String(
                s)) ? o.push(d(e, t, r, n, String(s), !0)) : o.push(""); return i.forEach((function(i) { i.match(
                  /^\d+$/) || o.push(d(e, t, r, n, i, !0)) })), o }(e, r, n, a, s) : s.map((function(t) { return d(e,
                r, n, a, t, c) })), e.seen.pop(),
            function(e, t, r) { return e.reduce((function(e, t) { return t.indexOf("\n"), e + t.replace(
                  /\u001b\[\d\d?m/g, "").length + 1 }), 0) > 60 ? r[0] + ("" === t ? "" : t + "\n ") + " " + e.join(
                ",\n  ") + " " + r[1] : r[0] + t + " " + e.join(", ") + " " + r[1] }(f, l, S)) : S[0] + l + S[1] }

      function h(e) { return "[" + Error.prototype.toString.call(e) + "]" }

      function d(e, t, r, n, i, o) { var s, a, u; if ((u = Object.getOwnPropertyDescriptor(t, i) || { value: t[i] })
          .get ? a = u.set ? e.stylize("[Getter/Setter]", "special") : e.stylize("[Getter]", "special") : u.set && (
            a = e.stylize("[Setter]", "special")), B(n, i) || (s = "[" + i + "]"), a || (e.seen.indexOf(u.value) < 0 ?
            (a = b(r) ? p(e, u.value, null) : p(e, u.value, r - 1)).indexOf("\n") > -1 && (a = o ? a.split("\n").map((
              function(e) { return "  " + e })).join("\n").substr(2) : "\n" + a.split("\n").map((function(
            e) { return "   " + e })).join("\n")) : a = e.stylize("[Circular]", "special")), _(s)) { if (o && i.match(
              /^\d+$/)) return a;
          (s = JSON.stringify("" + i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (s = s.substr(1, s.length - 2), s = e
            .stylize(s, "name")) : (s = s.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), s = e
            .stylize(s, "string")) } return s + ": " + a }

      function y(e) { return Array.isArray(e) }

      function g(e) { return "boolean" == typeof e }

      function b(e) { return null === e }

      function m(e) { return "number" == typeof e }

      function w(e) { return "string" == typeof e }

      function _(e) { return void 0 === e }

      function v(e) { return S(e) && "[object RegExp]" === O(e) }

      function S(e) { return "object" == typeof e && null !== e }

      function E(e) { return S(e) && "[object Date]" === O(e) }

      function A(e) { return S(e) && ("[object Error]" === O(e) || e instanceof Error) }

      function I(e) { return "function" == typeof e }

      function O(e) { return Object.prototype.toString.call(e) }

      function C(e) { return e < 10 ? "0" + e.toString(10) : e.toString(10) } t.debuglog = function(e) { if (e = e
            .toUpperCase(), !s[e])
            if (a.test(e)) { var r = n.pid;
              s[e] = function() { var n = t.format.apply(t, arguments);
                console.error("%s %d: %s", e, r, n) } } else s[e] = function() {}; return s[e] }, t.inspect = f, f
        .colors = { bold: [1, 22], italic: [3, 23], underline: [4, 24], inverse: [7, 27], white: [37, 39], grey: [90,
            39
          ], black: [30, 39], blue: [34, 39], cyan: [36, 39], green: [32, 39], magenta: [35, 39], red: [31, 39],
          yellow: [33, 39] }, f.styles = { special: "cyan", number: "yellow", boolean: "yellow", undefined: "grey",
          null: "bold", string: "green", date: "magenta", regexp: "red" }, t.types = r(5955), t.isArray = y, t
        .isBoolean = g, t.isNull = b, t.isNullOrUndefined = function(e) { return null == e }, t.isNumber = m, t
        .isString = w, t.isSymbol = function(e) { return "symbol" == typeof e }, t.isUndefined = _, t.isRegExp = v, t
        .types.isRegExp = v, t.isObject = S, t.isDate = E, t.types.isDate = E, t.isError = A, t.types.isNativeError =
        A, t.isFunction = I, t.isPrimitive = function(e) { return null === e || "boolean" == typeof e || "number" ==
            typeof e || "string" == typeof e || "symbol" == typeof e || void 0 === e }, t.isBuffer = r(4724); var
        R = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];

      function k() { var e = new Date,
          t = [C(e.getHours()), C(e.getMinutes()), C(e.getSeconds())].join(":"); return [e.getDate(), R[e.getMonth()],
          t
        ].join(" ") }

      function B(e, t) { return Object.prototype.hasOwnProperty.call(e, t) } t.log = function() { console.log(
          "%s - %s", k(), t.format.apply(t, arguments)) }, t.inherits = r(4378), t._extend = function(e, t) { if (!
          t || !S(t)) return e; for (var r = Object.keys(t), n = r.length; n--;) e[r[n]] = t[r[n]]; return e }; var
        T = "undefined" != typeof Symbol ? Symbol("util.promisify.custom") : void 0;

      function P(e, t) { if (!e) { var r = new Error("Promise was rejected with a falsy value");
          r.reason = e, e = r } return t(e) } t.promisify = function(e) { if ("function" != typeof e)
          throw new TypeError('The "original" argument must be of type Function'); if (T && e[T]) { var t; if (
              "function" != typeof(t = e[T])) throw new TypeError(
              'The "util.promisify.custom" argument must be of type Function'); return Object.defineProperty(t,
            T, { value: t, enumerable: !1, writable: !1, configurable: !0 }), t }

          function t() { for (var t, r, n = new Promise((function(e, n) { t = e, r = n })), i = [], o = 0; o <
              arguments.length; o++) i.push(arguments[o]);
            i.push((function(e, n) { e ? r(e) : t(n) })); try { e.apply(this, i) } catch (e) { r(
            e) } return n } return Object.setPrototypeOf(t, Object.getPrototypeOf(e)), T && Object.defineProperty(t,
            T, { value: t, enumerable: !1, writable: !1, configurable: !0 }), Object.defineProperties(t, i(e)) }, t
        .promisify.custom = T, t.callbackify = function(e) { if ("function" != typeof e) throw new TypeError(
            'The "original" argument must be of type Function');

          function t() { for (var t = [], r = 0; r < arguments.length; r++) t.push(arguments[r]); var i = t
          .pop(); if ("function" != typeof i) throw new TypeError("The last argument must be of type Function"); var
              o = this,
              s = function() { return i.apply(o, arguments) };
            e.apply(this, t).then((function(e) { n.nextTick(s.bind(null, null, e)) }), (function(e) { n.nextTick(P
                .bind(null, e, s)) })) } return Object.setPrototypeOf(t, Object.getPrototypeOf(e)), Object
            .defineProperties(t, i(e)), t } }, 6430: (e, t, r) => { var n = r(4029),
        i = r(3083),
        o = r(1924),
        s = o("Object.prototype.toString"),
        a = r(6410)(),
        u = "undefined" == typeof globalThis ? r.g : globalThis,
        f = i(),
        l = o("String.prototype.slice"),
        c = {},
        p = r(882),
        h = Object.getPrototypeOf;
      a && p && h && n(f, (function(e) { if ("function" == typeof u[e]) { var t = new u[e]; if (Symbol.toStringTag in
            t) { var r = h(t),
              n = p(r, Symbol.toStringTag); if (!n) { var i = h(r);
              n = p(i, Symbol.toStringTag) } c[e] = n.get } } })); var d = r(5692);
      e.exports = function(e) { return !!d(e) && (a && Symbol.toStringTag in e ? function(e) { var t = !1; return n(c,
            (function(r, n) { if (!t) try { var i = r.call(e);
                i === n && (t = i) } catch (e) {} })), t }(e) : l(s(e), 8, -1)) } }, 3083: (e, t, r) => { var n = [
          "BigInt64Array", "BigUint64Array", "Float32Array", "Float64Array", "Int16Array", "Int32Array", "Int8Array",
          "Uint16Array", "Uint32Array", "Uint8Array", "Uint8ClampedArray"
        ],
        i = "undefined" == typeof globalThis ? r.g : globalThis;
      e.exports = function() { for (var e = [], t = 0; t < n.length; t++) "function" == typeof i[n[t]] && (e[e
          .length] = n[t]); return e } }, 882: (e, t, r) => { var n = r(210)("%Object.getOwnPropertyDescriptor%", !
      0); if (n) try { n([], "length") } catch (e) { n = null } e.exports = n } },
  t = {};

function r(n) { var i = t[n]; if (void 0 !== i) return i.exports; var o = t[n] = { exports: {} }; return e[n](o, o
    .exports, r), o.exports } r.d = (e, t) => { for (var n in t) r.o(t, n) && !r.o(e, n) && Object.defineProperty(e,
  n, { enumerable: !0, get: t[n] }) }, r.g = function() { if ("object" == typeof globalThis)
return globalThis; try { return this || new Function("return this")() } catch (e) { if ("object" == typeof window)
      return window } }(), r.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t);
var n = {};
(() => { r.d(n, { E: () => e.parser, R: () => e.generate }); var e = r(1772) })();
var i = n.R,
  o = n.E;
export { i as generate, o as parser };
